Hi All,
Many of us struck with displaying Hyper Link Columns in
Kendo Grid. Here is the solution,
There are two ways you can do this,
- Using Template Function
- Using Client Template Function
You can use template function when there is no requirement
for sorting of that column.
So I always suggest Client template.
Use the following way to do this,
.ClientTemplate("<a href=\"javascript:yourJSfunctions('#=
DataFiled#');\"> #= columnDataFiled# </a>");
Example:
.ClientTemplate("<a
href=\"javascript:GetEmployeeDetails('#= EmployeeID#');\"> #= EmployeeID#
</a>");
Note:
Here I am giving Data field with preceding its object name.
No comments:
Post a Comment
Thanks for your valuable comments