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?
CBClay Burch Syncfusion Team May 13, 2002 01:36 AM
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.