This is a migrated thread and some comments may be shown as answers.

MultiColumn combo column in grid

1 Answer 94 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 02 Sep 2008, 08:40 AM
Hi,

I'm glad you introduced this feature. Is there any way how to control which columns are displayed in combobox dropdown?

Best regards,
Daniel

1 Answer, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 05 Sep 2008, 10:58 AM
Hi Daniel,

RadMultiColumnComboBox has an EditorControl property of type RadGridView. Through this property you gain access to all the RadGridView properties and settings which you can fine tune. At present the settings are not serialized in design time (this feature is under development), so you should set the properties through the API in run-time:
 
this.radMultiColumnComboBox1.EditorControl.Columns[0].IsVisible = false;  
this.radMultiColumnComboBox1.EditorControl.Columns[2].IsVisible = false

Alternatively, RadMultiColumnComboBoxElement has the Columns property exposed by which you can set columns properties as well:
 
this.radMultiColumnComboBox1.MultiColumnComboBoxElement.Columns[0].IsVisible = false;  
this.radMultiColumnComboBox1.MultiColumnComboBoxElement.Columns[2].IsVisible = false

If you have additional questions, feel free to contact me.
 

Sincerely yours,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
MultiColumn ComboBox
Asked by
Daniel
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Share this question
or