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

[Solved] dataset after filtering and sorting

1 Answer 106 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Islam Abdel Aziz
Top achievements
Rank 1
Islam Abdel Aziz asked on 16 Feb 2010, 08:08 AM
please i want a way to get the dataset of the grid after sorting and filtering the data

1 Answer, 1 is accepted

Sort by
0
Accepted
Tsvetoslav
Telerik team
answered on 18 Feb 2010, 05:11 AM
Hi Abdel,

You can use the Items collection of the grid to extract any information needed. However, do note that if you are using paging, the grid will be bound only to as many items as the page size. Therefore, if you need all the items after filtering/sorting you need to switch off the grid's paging (AllowPaging=false for the master table-view), rebind the grid (RadGrid1.Rebind()), get the items, switch paging back on and again rebind the grid.

I hope this helps.

Regards,
Tsvetoslav
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.
Tags
Grid
Asked by
Islam Abdel Aziz
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or