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.

ComboBox Index?

Thread ID:

Created:

Updated:

Platform:

Replies:

7535 Sep 30,2003 06:54 AM Sep 30,2003 08:50 AM Windows Forms 2
loading
Tags: GridControl
Andrew
Asked On September 30, 2003 06:54 AM

Hello, I have a column in my gridcontrol that contains a ComboBox. My application supports multiple languages, therefore I would like to check the SelectedIndex of the ComboBox instead of the actual text value. Is there a way I can get the SelectedIndex of the embedded ComboBox? Thanks, Andrew

Administrator [Syncfusion]
Replied On September 30, 2003 08:29 AM

I would like to suggest a setup where you use a DisplayMember and ValueMember for the combobox cell. The ValueMember can be the selected index. The DisplayMember the text that is displayed in the cell. See the C:\Suite16\Grid\Samples\CellTypes\ComboboxCells sample. Scroll down to "ComboBox with Customers table". The original list that you could be changed to an arraylist where each element has a id (the key) and the value that you want to display. Let me know if you need more info. Stefan

Andrew
Replied On September 30, 2003 08:50 AM

Thanks, I'll try this method. > I would like to suggest a setup where you use a DisplayMember and ValueMember for the combobox cell. > > The ValueMember can be the selected index. The DisplayMember the text that is displayed in the cell. > > See the C:\Suite16\Grid\Samples\CellTypes\ComboboxCells sample. Scroll down to "ComboBox with Customers table". > > The original list that you could be changed to an arraylist where each element has a id (the key) and the value that you want to display. > > Let me know if you need more info. > > Stefan >

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.

;