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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Filter GridControl

Thread ID:





6960 Sep 8,2003 10:58 AM UTC Sep 8,2003 02:22 PM UTC WinForms 1
Tags: GridControl
Cyrille Claustre
Asked On September 8, 2003 10:58 AM UTC

Hi, Is there a mean to apply a filter on GridControl rows ? I'm not connected to a DataSource and I use the control to display data only. But I'd like to set filters on the columns (by text). Can it be done other than manually ? Thank you.

Administrator [Syncfusion]
Replied On September 8, 2003 02:22 PM UTC

Currently, there is no support in GridControl for filtering. So, if you need to support filtering, you would have to design and implement some way to do it. One way you could do this is to maintain an arraylist of visible row indexes. Then handle the QueryCellInfo event and QueryRowCount event. Use QueryRowCount to provide the arraylist.Count as the number of rows in the grid. Then in QueryCellInfo use the arraylist to get the proper visible row. The VirtTreeGrid sample uses sort of this technique to dynamically display differing numbers of rows. It would take some coding, but I think it is doable.


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

Live Chat Icon For mobile
Live Chat Icon