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

How can I refresh the fields in the filter bar ?

Thread ID:





58426 Mar 23,2007 02:36 PM UTC Mar 23,2007 05:40 PM UTC WinForms 3
Tags: GridControl
Administrator [Syncfusion]
Asked On March 23, 2007 02:36 PM UTC

Hi all!

I use the filter bar on a grid. On the example you can find on "Essential Studio Sample Browser" (Grid sample>Samples>Data Bound>FilterBarGrid), after having filtered any data on a column, if you want to filter another column, there are still data in the filter which have no way to appear: they don't appear anymore in the filtered grid.
Do you know how I can fix this issue?
Thank you!

Administrator [Syncfusion]
Replied On March 23, 2007 04:45 PM UTC

Hi Julien,

If you want to reset the filter string in a Grid then you need to set the theFilterBar.RowFilter property to string.Empty. Here is a code snippet.

GridFilterBar theFilterBar = new GridFilterBar();

theFilterBar.RowFilter = string.Empty;

Best regards,

Administrator [Syncfusion]
Replied On March 23, 2007 05:39 PM UTC

Hey Haneef,

Thank you very much for your answer but this is not what I wanted, sorry about that, I think I didn't express my issue in the right way.
Here is a screenshot of the example I spoke. You can see that I have filtered the data on "Blauer See Delicatessen" and there is just one line left in the grid. So there might be only one choice left in the filter bar for the ContactName... and there is still all the fields witch are not listed in the grid !
Do you know how I could refresh these fields each time I filter the grid ?
Thank you so much !

Administrator [Syncfusion]
Replied On March 23, 2007 05:40 PM UTC

Sorry, Here is the attachement



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