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.

What''s the event when filters change?

Thread ID:

Created:

Updated:

Platform:

Replies:

67575 Aug 23,2007 05:10 PM Feb 5,2009 10:41 AM Windows Forms 2
loading
Tags: Grouping
Haishi
Asked On August 23, 2007 05:10 PM

Does any event get fired when user changing filters or filters changed by code?

Rajagopal [Syncfusion]
Replied On August 23, 2007 09:57 PM

Hi Stanley,

Thanks for your interest in Syncfusion Products.

The grid.TableDescriptor.RecordFilters.Changing/Changed are the events that get triggered when filter operation is done in the grid.

this.gridGroupingControl1.TableDescriptor.RecordFilters.Changed += new Syncfusion.Collections.ListPropertyChangedEventHandler(RecordFilters_Changed);

void RecordFilters_Changed(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
{
Console.WriteLine("FilteredRecords Count: {0}", this.gridGroupingControl1.Table.FilteredRecords.Count);
}

Regards,
Rajagopal

Sameer Khan
Replied On February 5, 2009 10:41 AM

Is there an event which get's fired when the filtered set changes ?

Not the Filter Collection; but the resultant view.

-S

>Hi Stanley,

Thanks for your interest in Syncfusion Products.

The grid.TableDescriptor.RecordFilters.Changing/Changed are the events that get triggered when filter operation is done in the grid.

this.gridGroupingControl1.TableDescriptor.RecordFilters.Changed += new Syncfusion.Collections.ListPropertyChangedEventHandler(RecordFilters_Changed);

void RecordFilters_Changed(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
{
Console.WriteLine("FilteredRecords Count: {0}", this.gridGroupingControl1.Table.FilteredRecords.Count);
}

Regards,
Rajagopal



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.

;