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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Event after Apply Filter - (All)

Thread ID:

Created:

Updated:

Platform:

Replies:

47583 Aug 8,2006 03:52 PM UTC Aug 9,2006 11:53 AM UTC WinForms 1
loading
Tags: GridControl
Asidagk
Asked On August 8, 2006 03:52 PM UTC

Hi,

What event i can handle after selecting (All) in Filter Row Bar

Administrator [Syncfusion]
Replied On 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

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.

Warning Icon 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.Close Icon

;