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.
Unfortunately, activation email could not send to your email. Please try again.

Columns Size

Thread ID:

Created:

Updated:

Platform:

Replies:

29567 May 27,2005 03:15 PM May 27,2005 04:54 PM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On May 27, 2005 03:15 PM

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 04:54 PM

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

CONFIRMATION

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.

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.

;