AD
Administrator
Syncfusion Team
August 9, 2006 11:53 AM UTC
Hi Sergiy,
You can subscribe the RecordFilters.Changing event to detect the filterbar changes in a grid.
private void RecordFilters_Changing(object sender, Syncfusion.Collections.ListPropertyChangedEventArgs e)
{
if( e.Action == Syncfusion.Collections.ListPropertyChangedType.Remove )
{
Console.WriteLine( "Record Filter Removed" );
}
else
{
RecordFilterDescriptor rd = e.Item as RecordFilterDescriptor;
Console.WriteLine("Filter Column Name :" + rd.Name );
if( rd.Conditions != null && rd.Conditions.Count > 0 )
Console.WriteLine("Filter Text :" + rd.Conditions[0].CompareText);
}
}
Here is a sample.
http://www.syncfusion.com/Support/user/uploads/FilterBar_e4cdfb43.zip
Let me know if this helps.
Thanks,
Haneef