Display Data without Headers in RadMultiColumnComboBox

3 posts, 0 answers
  1. Utsav
    Utsav avatar
    3 posts
    Member since:
    Feb 2018

    Posted 22 Feb 2018 Link to this post

    I need to display the DataTable, connected as DataSource to my RadMultiColumnComboBox, without any row or column headers(screenshot attached). 

    The code used to connect it to the DataSource is as follows:

                RadMultiColumnComboBox bx = new RadMultiColumnComboBox();
                bx.DataSource = dt.DefaultView;
                bx.DisplayMember = "out_data_col";
                bx.BindingContext = this.BindingContext;

    I cannot find any property that can disable these headers. Please advise how to achieve this appearance format.

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    4086 posts

    Posted 22 Feb 2018 Link to this post

    Hello, Utsav, 

    Thank you for writing.  

    If I understand your requirement correctly, you are trying to hide the column and row headers in RadMultiColumnComboBox. For this purpose it is necessary to set the ShowColumnHeaders and ShowRowHeaderColumn properties of the EditorControl to false

    this.radMultiColumnComboBox1.EditorControl.ShowColumnHeaders = false;
    this.radMultiColumnComboBox1.EditorControl.ShowRowHeaderColumn = false;



    I hope this information helps. Should you have further questions I would be glad to help. 
     
     Regards,
    Dess
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Utsav
    Utsav avatar
    3 posts
    Member since:
    Feb 2018

    Posted 26 Feb 2018 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    Thanks, Dess.

    Yes, that was exactly what I was searching for.

Back to Top