What''s the event when filters change?

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

2 Replies

RA Rajagopal Syncfusion Team August 24, 2007 01:57 AM UTC

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


SK Sameer Khan February 5, 2009 03:41 PM UTC

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



Loader.
Up arrow icon