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 after Apply Filter - (All)

Thread ID:

Created:

Updated:

Platform:

Replies:

47583 Aug 8,2006 11:52 AM Aug 9,2006 07:53 AM Windows Forms 1
loading
Tags: GridControl
Asidagk
Asked On August 8, 2006 11:52 AM

Hi,

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

Administrator [Syncfusion]
Replied On August 9, 2006 07:53 AM

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.

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.

;