We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Event on GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

89134 Aug 18,2009 04:16 PM Aug 21,2009 01:19 AM Windows Forms 1
loading
Tags: GridControl
Jianan Lu
Asked On August 18, 2009 04:16 PM

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.

Jisha Joy [Syncfusion]
Replied On August 21, 2009 01:19 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;