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

[Solved] Acces sorted collection

1 Answer 123 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pascal
Top achievements
Rank 1
Pascal asked on 04 Apr 2008, 06:55 PM
Hi,
I use the RadGrid sorting functionnality and it works well, but I need to know the sorting order of the items to build an index on my collection and pass it to another page where I don't use the grid. I would like to do that without sorting my source collection, only building an index. Is it possible to access a structure of the grid that I could use to build my index? My first idea whas to loop on the Items collection, but it is limited to the items of the current page.
Thanks,
Pascal.

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 07 Apr 2008, 01:23 PM
Hi Pascal,

You can use the RadGrid1.MasterTableView.SortExpressions collection to access all the columns which have been sorted, as well as the sort order.

Best wishes,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Pascal
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or