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 tried this:
GridRangeInfo range = GridRangeInfo.Col(2);
mccbStringType.ListBox.Grid.ColWidths.ResizeToFit(range,GridResizeToFitOptions.IncludeCellsWithinCoveredRange);
but is does nothing. I want it to resize to fit the text in the cells and would like to shrink the size of another column.
Please help.
ADAdministrator Syncfusion Team December 20, 2004 08:06 PM UTC
You need to set gridListControl1.AutoSizeColumns = false;. Otherwise, the GridListControl will autosize things according to the visible cells and this will step on any other sizing you may try to do.