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

resize datagrid rows programatically

Thread ID:





247 May 10,2002 03:35 PM UTC May 13,2002 05:36 AM UTC WinForms 1
Tags: FAQ
george harig
Asked On May 10, 2002 03:35 PM UTC

I need to resize the rows of a datagrid. The method I am using now is to clear the table style, set the prefered row size then add (re-add)the table style. Is there a better way? Thank you George Harig

Clay Burch [Syncfusion]
Replied On May 13, 2002 05:36 AM UTC

I don't know of a different way to do this. Evidently, the row height is set during databinding, and then again when a tablestyle is applied, and there appears to be no way to get at row heights at other times. Microsoft Engineer Lion Shi made this comment in a news group posting in response to a question about how to programmatically resize a row. "We cannot customize the properties of a specific row pragmatically. At this point, there is no way to work around this design limitation." Of course, there are commercial grids, such as Syncfusion's Essential Grid, where you can resize individual rows at any time.


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