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

DB Grid - Hide a row depending upon contents of a cell?

Hi Clay, Thank you for your previous responces. Please if you can help with this. How do I loop through all rows in my DBGrid and hide some of them or change their Hight=0 depending upon the contents of a cell? Thank you.

1 Reply

CB Clay Burch Syncfusion Team July 27, 2002 07:04 AM UTC

I don't know of a way to programatically set the height of a row. You could possibly do this using the Filter property on a DataView, and bind your datagrid to this filtered Dataview when you want the rows gone, and then rebind it to the full table when you want them to show...

Loader.
Up arrow icon