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.

Non Editable Combo Box

Thread ID:

Created:

Updated:

Platform:

Replies:

75227 Jul 16,2008 02:59 PM Jul 21,2008 08:58 AM Windows Forms 1
loading
Tags: GridControl
Patrick Brunet
Asked On July 16, 2008 02:59 PM

Hi,

I'm setting the cell type of one of my column as "ComboBox" and binding it with values from the database. The problem is the combo box created by Syncfusion is a combo box where users can enter text. How can I set the grid so it generates a combox box where users cannot enter text in it and just select an item from it.

Thanks,

Pat


SubhaSheela R [Syncfusion]
Replied On July 21, 2008 08:58 AM

Hi Pat,

Thanks for your interest in Syncufsion products.

You can set ExclusiveChoiceList property to achieve your desired behavior. Here is the code snippet:


this.gridControl1[5, 2].ExclusiveChoiceList = true;


Here is the sample:

GCComboReadOnly.zip

Please let me know if it helps.

Regards,
Subhasheela R




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.

;