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.

Filter GridControl

Thread ID:





6960 Sep 8,2003 06:58 AM Sep 8,2003 10:22 AM Windows Forms 1
Tags: GridControl
Cyrille Claustre
Asked On September 8, 2003 06:58 AM

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 10:22 AM

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.

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.