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

Get filtered records

1 Answer 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Priya
Top achievements
Rank 1
Priya asked on 26 Oct 2010, 12:21 PM
Hi Telerik,

Am using radgrid with filter enabled. Is there any way in radgrid to access the filtered result set before it binds to the Grid. Or any event which is fired before the filtered data is bound to the Grid? Please give me a solution for this as soon as possible.

Thanks
Priya

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 26 Oct 2010, 01:42 PM
Hello Priya,

You cannot directly retrieve this data from the grid, but you have access to the function that was used to filter the initial data through the FilterExpression property of the MasterTableView of the RadGrid. Then you can manually filter your data in the NeedDataSource event and set the filtered data to the DataSource property of the grid. This way you can make any manipulation of the data before it is bound to the grid.

RadGrid - Advanced Databinding

Best wishes,
Marin
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
Priya
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or