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

Display Data without Headers in RadMultiColumnComboBox

2 Answers 317 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Utsav
Top achievements
Rank 1
Utsav asked on 22 Feb 2018, 12:43 PM

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 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 22 Feb 2018, 01:43 PM
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.
0
Utsav
Top achievements
Rank 1
answered on 26 Feb 2018, 10:49 AM

Thanks, Dess.

Yes, that was exactly what I was searching for.

Tags
General Discussions
Asked by
Utsav
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Utsav
Top achievements
Rank 1
Share this question
or