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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Column Widths

Thread ID:

Created:

Updated:

Platform:

Replies:

1663 Nov 18,2002 08:26 PM UTC Nov 19,2002 09:50 PM UTC WinForms 3
loading
Tags: GridControl
Ivan Pelly
Asked On November 18, 2002 08:26 PM UTC

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 11:55 PM UTC

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 05:15 PM UTC

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 09:50 PM UTC

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.

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

;