We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Columns Size

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.

1 Reply

AD Administrator 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];

Live Chat Icon For mobile
Up arrow icon