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

Can't find some properties I need to change

1 Answer 22 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Megan
Top achievements
Rank 1
Megan asked on 03 Sep 2009, 10:31 AM

Having some trouble with MulticolumnComboBox properties...

How do you remove the column headers and how do you control the height of the grid view?

I'd like it to only be as high as the number of rows.

It's set at a specific height which leaves some trailing rows which look like empty space underneath.

I'm coding in VB.

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 07 Sep 2009, 02:57 PM
Hello Megan,

Thank you for writing. You can remove the column header by accessing EditorControl property and setting ShowColumnHeaders for MasterGridViewTemplate to false. About setting the DropDown size, you can use MultiColumnComboBoxElement, please, consider the following code-block:

Me.radMultiColumnComboBox1.EditorControl.MasterGridViewTemplate.ShowColumnHeaders = False 
Me.radMultiColumnComboBox1.MultiColumnComboBoxElement.DropDownWidth = 250  
Me.radMultiColumnComboBox1.MultiColumnComboBoxElement.DropDownHeight = 200 

Hope this helps. Do not hesitate to contact me again if you have other questions.

Sincerely yours,
Martin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Megan
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Share this question
or