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

sort column without specific field name

1 Answer 35 Views
Grid
This is a migrated thread and some comments may be shown as answers.
rachel
Top achievements
Rank 1
rachel asked on 12 Jun 2011, 11:26 AM
hi,
i have column without fieldName with itemtemplate that display text by another field, and i want to enable sorting this column by the display text. is it imposible?
thanks.

1 Answer, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 15 Jun 2011, 09:44 AM
Hi Rachel,

From your explanation It is not perfectly clear what your actual scenario is, however I can suggest you to review the following example which illustrates how you can implement sorting for a TemplateColumn using a different DataField. You can also check this demo which highlights how to add sort expressions programmaticaly.

All the best,
Pavel
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Grid
Asked by
rachel
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Share this question
or