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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set a filter condition explicitly in WinForms GridGroupingControl?

Platform: WinForms |
Control: GridGroupingControl |
Published Date: April 30, 2011 |
Last Revised Date: February 13, 2020
Tags: filtering

Filter condition

The filter conditions can be explicitly set by adding Record Filters. To add the record filters, you need to create a RecordFilterDescriptor.


// Filtering Condition.
FilterCondition condition = new FilterCondition(FilterCompareOperator.Like, "Australia");
// Add the Condition to the particular Column.
RecordFilterDescriptor rf = new RecordFilterDescriptor("WorkingBranch", condition);
// Add the RecordFilterDescriptor to the RecordFilters.


' Filtering Condition.
Dim condition As New FilterCondition(FilterCompareOperator.Like, "Australia")
' Add the Condition to the particular Column.
Dim rf As New RecordFilterDescriptor("WorkingBranch", condition)
' Add the RecordFilterDescriptor to the RecordFilters.


Filter condition in GridGroupingControl

Figure 1: Setting FilterCondition in GridGroupingControl


C#: FilterCondition-CS

VB: FilterCondition-VB

Reference link: https://help.syncfusion.com/windowsforms/gridgrouping/filtering#record-filters

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
You must log in to leave a comment
Nicolas Marcotte
Nov 11, 2016
I noticed that when you try to apply a filter to a primary key, even if it is an integer and would normaly use an Operator "Equals", "Like" seems to work best - Nicolas Reply
Amal Raj Umapathy Selvam [Syncfusion]
Nov 14, 2016

Hi Nicolas,


Thanks for using Syncfusion products.


Thanks for your valuable feedback. If you have any queries, please create an incident with your Direct-Trac login using below link,




Amal Raj U.


Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

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

Live Chat Icon For mobile
Live Chat Icon