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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Columns Size

Thread ID:





29567 May 27,2005 07:15 PM UTC May 27,2005 08:54 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On May 27, 2005 07:15 PM UTC

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.

Administrator [Syncfusion]
Replied On 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];


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon