We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How to set column headers

Hi,
    iIn the control MultiColumnComboBox there is a possibility to customize the column headers?
Thank you
Roberto Guerzoni

4 Replies

ST Saravanan T Syncfusion Team July 7, 2014 07:34 AM UTC

Hi Roberto,

 

Thank you for using Syncfusion product.

 

We would like to let you know that your requirement can be achieved by using below code snippet.

 

Code Snippet [C#]:

 

 

this.multiColumnComboBox1.ListBox.HeaderBackColor = Color.Lime;

this.multiColumnComboBox1.ListBox.HeaderTextColor = Color.Red; 

 

 

Also we have prepared a sample for your reference which is attached below.

 

Please let us know if you need any further assistance,

 

Regards,

Saravanan T


Attachment: MultiColumnComboBox_6dd95d5a.zip


RG Roberto Guerzoni July 8, 2014 12:17 PM UTC

Hi Saravanan,
Thanks for the reply. Unfortunately I have not explained properly in asking the question,
I would need to customize the title of the columns coming from the data table, not the color or other properties.
So for example the datatable column "Help" should be "Aiuto" and so on...
Do you have any trick?
Have a nice day.
Roberto Guerzoni


SK Senthil Kumaran Rajan Syncfusion Team July 9, 2014 09:23 AM UTC

Hi Roberto,

 

Thanks for your update,

 

We would like to let you know that the column of the data table in the MultiColumnComboBox can be customized by using the below code snippet.

 

Code Snippet [C#] :

dt.Columns["place"].ColumnName = "Country";

dt.AcceptChanges();

 

Also we have prepared a sample for your reference and it is attached below.

 

Please let us know if you need any further assistance,

 

Regards,

Senthil kumaran


Attachment: MultiColumnComboBox_c7de038b.zip


RG Roberto Guerzoni July 9, 2014 11:26 AM UTC

Hi Senthil,
    too easy to be true!
I'm lost in the myriad of properties while neglecting the most obvious way.

Thnak you so much.
Roberto Guerzoni

Loader.
Live Chat Icon For mobile
Up arrow icon