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 have a GDBG with with Grid.AllowResizeToFit = true and each column .AutoSize = True ... but the grid columns don''t resize to their max width.
Is this working in 2.0.2.0? or am I missing some code.
Thanks,
Rob
ADAdministrator Syncfusion Team January 22, 2004 01:01 PM UTC
The AutoSize property only affects text as your user types into the grid. It autosizes at that point.
If you want to programatically autosize columns at some point in your code, then you have to explicitly call grid.Model.ColWidths.ResizeToFit, passing in a range and options that you might want.