Event on GridDataBoundGrid

I am using the GridDataBoundGrid and the GridFilterBar control with it. I need to catch the event when the user has changed the filter condition which results the grid display contents (e.g. less rows of data will be displayed).

Can someone tell me what event I should catch?
It would be better on an event of the grid instead of a cell in the grid.

1 Reply

JJ Jisha Joy Syncfusion Team August 21, 2009 05:19 AM UTC

Hi Jianan,

Thank you for posting query to us.

You could handle FilterBarTextChanged event of GridFilterBar that is fired immediately before the filtering is done. See the code:

GridFilterBar bar = new GridFilterBar();
bar.WireGrid(this.gridDataBoundGrid1);
bar.FilterBarTextChanged +=new GridFilterBarTextChangedEventHandler(bar_FilterBarTextChanged);

Let me know if you have any further queries.

Regards,
Jisha

Loader.
Up arrow icon