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.

Column Widths

Thread ID:

Created:

Updated:

Platform:

Replies:

1663 Nov 18,2002 03:26 PM Nov 19,2002 04:50 PM Windows Forms 3
loading
Tags: GridControl
Ivan Pelly
Asked On November 18, 2002 03:26 PM

Hi - We're formatting a GridDataBoundGrid in code, setting column widths explicitly. The grid is on a tab control, so is not initially visible when the form is displayed. When the grid does become visible, it appears that, for columns whose width has been set narrower than the text in the column header, the column width is reset so that the wide column header text is accomodated. (I don't think this happened in version 1.1 of the grid) Is there a way to prevent this from happening? Thanks Ivan Pelly

Administrator [Syncfusion]
Replied On November 18, 2002 06:55 PM

You can prevent the auto resize based on the column headers by setting the AutoResizeToFit property to False.

Ivan Pelly
Replied On November 19, 2002 12:15 PM

I'm not seeing a property of that name - which object would that be a property of? Thanks.

Administrator [Syncfusion]
Replied On November 19, 2002 04:50 PM

You will need version 1.5 which is available as an evaluation download as of last week. The property is GridDataBoundGrid.AllowResizeToFit

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.

;