Approved
Last Updated: 30 Mar 2016 09:22 by Jesse Dyck
ADMIN
Plamen
Created on: 01 Mar 2013 08:05
Category: MultiColumnCombo
Type: Bug Report
0
FIX. RadMultiColumnComboBox - when setting DropDownHeight property, the AutoSizeDropDownToBestFit property does not work
Steps to reproduce:
1) Add RadGridView control
2) Add GridViewMultiComboBoxColumn column:

            GridViewMultiComboBoxColumn multiCoomboBoxColumn = new GridViewMultiComboBoxColumn();
            multiCoomboBoxColumn.DataSource = customTable;
        

Workaround:
do not set the DropDownHeight 
property. Instead, you could set the AutoSizeDropDownToBestFit property to true and the MaxDropDownItems property, which gets or sets the maximum number of items to be shown in the drop-down portion. Here is a sample code snippet:
RadMultiColumnComboBoxElement element = e.ActiveEditor as RadMultiColumnComboBoxElement;
element.AutoSizeDropDownToBestFit = true;
element.MaxDropDownItems = 20;
1 comment
Jesse Dyck
Posted on: 01 Mar 2013 12:02
with
"editor.AutoSizeDropDownToBestFit = true;
editor.MaxDropDownItems = 20; "
does not work. The width of the columns has a malfunction.