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 would like to determine the height of all rows (the # of rows varies when the form is displayed) so that I can resize the form to "best fit" the grid---so that all the rows are displayed without having to scroll. Can you give some tips to do this. thanks
ADAdministrator Syncfusion Team August 14, 2005 08:47 AM UTC
You can try:
int height = this.grid.Model.RowHeights.GetTotal(0, this.grid.Model.RowCount);
this.grid.ClientSize.Height = height;
Here is a little sample.
http://www.syncfusion.com/Support/user/uploads/SetGridHeight_929d4082.zip