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

Filter GridControl

Thread ID:

Created:

Updated:

Platform:

Replies:

6960 Sep 8,2003 10:58 AM UTC Sep 8,2003 02:22 PM UTC WinForms 1
loading
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.

CONFIRMATION

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.

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

;