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

resize datagrid rows programatically

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

1 Reply

CB Clay Burch Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon