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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





676 Jul 25,2002 10:48 AM UTC Jul 27,2002 07:04 AM UTC WinForms 1
Tags: FAQ
Asked On July 25, 2002 10:48 AM UTC

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


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