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.

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

Thread ID:

Created:

Updated:

Platform:

Replies:

676 Jul 25,2002 06:48 AM Jul 27,2002 03:04 AM Windows Forms 1
loading
Tags: FAQ
Peter
Asked On July 25, 2002 06:48 AM

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.

Clay Burch [Syncfusion]
Replied On July 27, 2002 03:04 AM

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...

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.

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.

;