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

Sort method for DataGrid

2 Answers 29 Views
DataGrid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Raffaele
Top achievements
Rank 1
Raffaele asked on 15 Dec 2014, 09:40 AM
Is it possible  sorting a grid programmatically?
"Programmatically" means without clicking the header of column.



2 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 15 Dec 2014, 12:33 PM
Hi Raffaele,

You can programmatically sort RadDataGrid using its SortDescriptors collection. For more information you can check these help articles:

 - http://www.telerik.com/help/windows-8-xaml/datagrid-sorting-overview.html

 - http://www.telerik.com/help/windows-8-xaml/datagrid-sorting-propertynamesortdescriptor.html



Regards,
Tsvyatko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Raffaele
Top achievements
Rank 1
answered on 15 Dec 2014, 01:36 PM
Thanks for your quickly response, probably the first link should solve my needs.

Tags
DataGrid
Asked by
Raffaele
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Raffaele
Top achievements
Rank 1
Share this question
or