This is a migrated thread and some comments may be shown as answers.

[Solved] Sorting columns containing action links.

2 Answers 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kapil Koli
Top achievements
Rank 1
Kapil Koli asked on 17 Feb 2010, 11:38 AM
Hi,

I have used telerik grid in my MVC app. One of the columns contains only action links.
How can apply sorting for this column?
In short, I want to sort the action link column by their text.
Is it possible?

Thanks,
Kapil

2 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 17 Feb 2010, 04:17 PM
Hello Kapil Koli,

You cannot sort Template columns. However you can specify the template of a bound column which in turn is sortable:

columns.Add(c => c.CustomerID).Template(c => {
%>
<%
});
Regards,
Atanas Korchev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Kapil Koli
Top achievements
Rank 1
answered on 18 Feb 2010, 08:46 AM
Thanks Atanas.
Tags
Grid
Asked by
Kapil Koli
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Kapil Koli
Top achievements
Rank 1
Share this question
or