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.

Resize a Column in a MultiColumnComboBox

Thread ID:

Created:

Updated:

Platform:

Replies:

22444 Dec 13,2004 12:48 PM Dec 20,2004 03:06 PM Windows Forms 1
loading
Tags: Tools
John Tyce
Asked On December 13, 2004 12:48 PM

I have tried this: GridRangeInfo range = GridRangeInfo.Col(2); mccbStringType.ListBox.Grid.ColWidths.ResizeToFit(range,GridResizeToFitOptions.IncludeCellsWithinCoveredRange); but is does nothing. I want it to resize to fit the text in the cells and would like to shrink the size of another column. Please help.

Administrator [Syncfusion]
Replied On December 20, 2004 03:06 PM

You need to set gridListControl1.AutoSizeColumns = false;. Otherwise, the GridListControl will autosize things according to the visible cells and this will step on any other sizing you may try to do.

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.

;