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.
Hi,
I''m using GDBG to print a report. My problem is that I have a comments column that can be really long. If I autosize the columns, it looks awfull since it prints the first columns on one page and the comments on another page. What I''d like to do is to autosize the rows so that it fits the comments instead of the column.
Or is there another tools from Syncfusion for such a purpose?
ADAdministrator Syncfusion Team August 1, 2005 09:03 PM UTC
I am not sure I understand. Do you want to autosize the rows instead of the columns? If so, first set grid.AllowResizeToFit = false. Then set grid.Model.ColWidths[col] = xxx to specify the colwidths you want to use on each column. Then you can call grid.Model.RowHeights.ResizeToFit to autosize the row heights, but keep the colwidths as explicitly set.