The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
CBClay 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.