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

Grid Grouping Control Filterbar

Thread ID:





60427 May 4,2007 12:12 PM UTC May 7,2007 10:32 PM UTC WinForms 3
Tags: GridControl
DuplicateDanny Evans
Asked On May 4, 2007 12:12 PM UTC

I have a Grid grouping control that I am showing the Filterbar on. Filtering works as expected but I am wanting to change the style of the combo boxes to Autocomplete.

When I do this the comboboxes in the filterbar are no longer displayed.


For iloop = 0 To Me.DataGrid.TableDescriptor.Columns.Count - 1

DataGrid.TableDescriptor.Columns(iloop).Appearance.FilterBarCell.DropDownStyle = GridDropDownStyle.AutoComplete

Next iloop


Tried searching the forum in vain for a solution to this.

Also, Any pointers on how to populate the filter for certain columns to a set of criteria. For example.

I have a column that shows a number in days between two dates (Datediff). The filterbar for this column is defaulted to the contents of the table. What I want is the drop down to contain items such as:

'> 14'
'> 0 and <= 14'
'< 0'

Selecting one of these items would set the filter accordingly. Any pointers?

Thank you

haneefm [Syncfusion]
Replied On May 4, 2007 05:56 PM UTC

Hi Dan,

Please refer to this KB article for customize the filterbar entry in a grid.

Best Regards,

DuplicateDanny Evans
Replied On May 7, 2007 11:20 AM UTC

Thank you Haneef for the direction.
I have made a simple addaption to the FillWithChoices method in the example you gave in your link which sets the DropDownStyle to AutoComplete.

I have found that this change alone gives me a closer match to what I am after but the problem I see now is that the filterbar is verymuch mousedriven (Filtering only on a mouse click) rather than keyboard Enter. How would you advise I make the filterbar work on enter?

haneefm [Syncfusion]
Replied On May 7, 2007 10:32 PM UTC

Hi Daniel,

Here is a forum thread that discuss with the simillar issue.

Best regards,


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.

Please sign in to access our forum

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

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