Can't find some properties I need to change

Thread is closed for posting
2 posts, 0 answers
  1. Megan
    Megan avatar
    56 posts
    Member since:
    Aug 2007

    Posted 03 Sep 2009 Link to this post

    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.

  2. Martin Vasilev
    Martin Vasilev avatar
    1061 posts

    Posted 07 Sep 2009 Link to this post

    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.
Back to Top