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

MultiColumnCombobox Column Header Text

3 Answers 275 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Satyajeet B
Top achievements
Rank 1
Satyajeet B asked on 04 Nov 2009, 12:52 PM
Hi there,

how can i change the font of the column header text in the MulticolumnComboboxElement.
I am assigning datasource to the Multilinecombobox which will display the data in the MulticolumnComboboxElement dropdown.
I would like to change the font size to Bold or assign different color for the column headers row.
Now the field and the value have the same font, just wanna make the field text font to Bold.

Thanks,
Satyajeet


3 Answers, 1 is accepted

Sort by
0
Robert
Top achievements
Rank 1
answered on 28 Dec 2009, 11:11 PM
Hello Satyajeet B,

One way you could do this would be to use HTML-like text formatting:

radMultiColumnComboBox1.EditorControl.Columns[0].DisableHTMLRendering = false
radMultiColumnComboBox1.EditorControl.Columns[0].HeaderText = @"<html><b>My Bold Header</b></html>"

You can read more about this here.

- Robert
0
Dymytriy Karpov
Top achievements
Rank 1
answered on 02 Mar 2011, 09:07 PM
Hi Robert,

I can change the header Font size it works great. Is there a way to increase the header height too because header text does not fit anymore? 

Thank you, Dymytriy.
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 02 Mar 2011, 11:48 PM
Hello,

Once you have a handle on the editor control, then it's just like playing with the RadGridView, so you can set
' editor being the Active Editor from CellBeginEdit
editor.EditorControl.TableElement.TableHeaderHeight = 50

Hope that helps
Richard
Tags
MultiColumn ComboBox
Asked by
Satyajeet B
Top achievements
Rank 1
Answers by
Robert
Top achievements
Rank 1
Dymytriy Karpov
Top achievements
Rank 1
Richard Slade
Top achievements
Rank 2
Share this question
or