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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Combo data not displaying in GridBoundDataGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

57243 Feb 28,2007 07:10 AM UTC Feb 28,2007 07:28 PM UTC WinForms 1
loading
Tags: GridControl
Pawan Adur
Asked On February 28, 2007 07:10 AM UTC

Hi,
i am trying to use a Combo cell in GridBoundDataGrid.
by using the following code.
although i get a drop down with values but the selected value is not getting populated in the grid cell.


System.Collections.Specialized.StringCollection yesNo = new System.Collections.Specialized.StringCollection();
yesNo.Add("X");
yesNo.Add("Y");



grid.Model.ColStyles["Col1"].CellType ="ComboBox";
grid.Model.ColStyles["OD_Col1"].ChoiceList = yesNo;
grid.Model.ColStyles["OD_Col1"].DisplayMember="Destination";


Thanks
Pawan

Administrator [Syncfusion]
Replied On February 28, 2007 07:28 PM UTC

Hi Pawan,

I am not sure of what be might be causing this strange behavior without a working sample. I have tested this issue in the attached sample with Essentail studio V.4.x. I was not able to reproduce the issue. Is it possible for you to upload us a minimal sample or modify the attached sample to reproduce the issue here? This will help us to analyse the issue further.

Sample : GDBGComboBox.zip

Best regards,
Haneef

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

;