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

Resize a Column in a MultiColumnComboBox

Thread ID:

Created:

Updated:

Platform:

Replies:

22444 Dec 13,2004 05:48 PM UTC Dec 20,2004 08:06 PM UTC WinForms 1
loading
Tags: Tools
John Tyce
Asked On December 13, 2004 05:48 PM UTC

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 08:06 PM UTC

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.

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

;