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. Image for the cookie policy date

Resize a Column in a MultiColumnComboBox

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.

1 Reply

AD Administrator Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon