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.

MultiColumnComboBox - HeaderText of ListBox

Thread ID:

Created:

Updated:

Platform:

Replies:

117532 Nov 4,2014 11:54 AM Nov 7,2014 05:35 AM Windows Forms 5
loading
Tags: MultiColumnComboBox
Frank Piplak
Asked On November 4, 2014 11:54 AM

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 04:14 AM

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 06:25 AM

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 5, 2014 11:25 PM

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 11:00 AM

Hello,

works perfect, many thanks!

Best regards,
Frank

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

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.

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.

;