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. Image for the cookie policy date

ComboBox selectedValue or selectedIndex

Is there a way to get a selectedValue or selectedIndex from a comboBox within a DataBoundGrid. I populate the comboBox from a dataTable DataSource. I would like to obtain the (ValueMember) the value behind what is diplayed (DisplayMember). Thanks

1 Reply

AD Administrator Syncfusion Team November 23, 2003 01:46 AM

When the cell is not active, grid[row, col].Text should have the valuemember and grid[row, col].FormattedText should have the DisplayMember.

Loader.
Live Chat Icon For mobile
Up arrow icon