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.

Case-insensitive filtering on GridGroupingControl (Windows Forms)

Thread ID:





86881 Jul 9,2009 03:44 PM Jul 13,2009 01:31 AM ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Administrator [Syncfusion]
Asked On July 9, 2009 03:44 PM

Using the Windows Forms GridGroupingControl filter bar I would like to have filtering work in a case-insensitive manner; for example if there were rows with "Black", "BLACK", and "black", they would all be returned if the user chose "black" on the filter combobox.
Do I need to create a custom filter to do this?

Jisha Joy [Syncfusion]
Replied On July 13, 2009 01:31 AM

Hi John,

You could use the Dynamic Filter feature of the Grid Grouping control to achieve the case insensitive filtering. This filter implements a custom filter bar to be wired with the Grid Grouping control by replacing the default filter bar. The existing filter bar logic is extended to make the filter easy to use. It displays filtered results as you type each character.

Code to invoke the dynamic filter:

GridDynamicFilter filter = new GridDynamicFilter();

//To remove dynamic filter

Please see the following sample from our sample browser:

..\my documents\syncfusion\essentialstudio\\Windows\Grid.Grouping.Windows\Samples\2.0\Filters and Expressions\Dynamic Filter Demo\cs

Please let me know if this helps.



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.