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.
Unfortunately, activation email could not send to your email. Please try again.

How to set column headers

Thread ID:

Created:

Updated:

Platform:

Replies:

116937 Jul 4,2014 10:53 AM Jul 9,2014 07:26 AM Windows Forms 4
loading
Tags: MultiColumnComboBox
Roberto Guerzoni
Asked On July 4, 2014 10:53 AM

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

Saravanan T [Syncfusion]
Replied On July 7, 2014 03:34 AM

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

Roberto Guerzoni
Replied On July 8, 2014 08:17 AM

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

Senthil Kumaran Rajan [Syncfusion]
Replied On July 9, 2014 05:23 AM

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

Roberto Guerzoni
Replied On July 9, 2014 07:26 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;