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 am trying to retrieve the current size of all the columns but I receive the same value even if the column sizes appear differently. I have defined the column size, but I am also implementing the ResizeToFit funcion, I would like to retrieve the current size once the columns have been resized.
ADAdministrator Syncfusion Team May 27, 2005 08:54 PM UTC
You did not say what kind of grid you were using, but if it is a GridControl or a GridDataBoundGrid, then try this code:
//width of column 2
int width = grid.Model.ColWidths[2];