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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

MultiColumnComboBox - HeaderText of ListBox

Thread ID:

Created:

Updated:

Platform:

Replies:

117532 Nov 4,2014 04:54 PM UTC Nov 7,2014 10:35 AM UTC WinForms 5
loading
Tags: MultiColumnComboBox
Frank Piplak
Asked On November 4, 2014 04:54 PM UTC

Hello,

is it possible to change the HeaderText in the grid of a MultiColumnComboBox?

Many thanks for help.

Frank


Senthil Kumaran Rajan [Syncfusion]
Replied On November 5, 2014 09:14 AM UTC

Hi Frank,

 

Thanks for using Syncfusion product,

 

In MultiColumnComboBox the GridListControl has been used as popup control. So the header text can be customized by handling the GridListControl QueryCellInfo event. Please make use of below code snippet. We have also prepared a sample for your reference and it is attached below.

 

Code Snippet[C#]:

 

void Grid_QueryCellInfo(object sender, Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventArgs e)

        {           

            if (e.RowIndex == 0 && e.ColIndex == 1)

            {

                e.Style.Text = "Name";

            }

        }

 

Please let us know if you need further assistance,

 

Regards,

R.Senthil kumaran

 


Attachment: MultiColumnComboBox_cad69a5.zip

Frank Piplak
Replied On November 5, 2014 11:25 AM UTC

Hello,
thanks for your answer.
Sorry but I don't know, how to use it in VB.
Regards,
Frank

Senthil Kumaran Rajan [Syncfusion]
Replied On November 6, 2014 04:25 AM UTC

Hi Frank,

 

Thanks for your update,

 

The sample has been modified to VB. Please download the sample from below attachment.

 

Please let us know if you need further assistance,

 

Regards,

R.Senthil Kumaran


Attachment: MultiColumn_VB_df5267c3.zip

Frank Piplak
Replied On November 6, 2014 04:00 PM UTC

Hello,

works perfect, many thanks!

Best regards,
Frank

Senthil Kumaran Rajan [Syncfusion]
Replied On November 7, 2014 10:35 AM UTC

Hi Frank,

 

We are glad to hear that the reported query has been resolved. Please let us know if you need any further assistance.

 

Regards,

R.Senthil Kumaran

 


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.

Warning Icon 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.Close Icon

;