MultiColumn combo column in grid

2 posts, 0 answers
  1. Daniel
    Daniel avatar
    91 posts
    Member since:
    Jan 2008

    Posted 02 Sep 2008 Link to this post

    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
  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 05 Sep 2008 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top