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

ComboBox cell type in GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

84087 Jun 29,2009 10:21 AM UTC Jun 30,2009 07:34 AM UTC WinForms 2
loading
Tags: GridControl
Awanish
Asked On June 29, 2009 10:21 AM UTC

Hi,

How can I set the text of ComboBox cell in GGC at runtime?

Thanks,
Awanish Kaul

Jisha Joy [Syncfusion]
Replied On June 29, 2009 12:53 PM UTC

Hi Awanish,


You could have combobox cells inside GridGroupingControl by setting the CellType to ComboBox and specifying the ChoiceList. See the code:
StringCollection sc = new StringCollection();
sc.Add("One");
sc.Add("two");
this.gridGroupingControl1.TableDescriptor.Columns[2].Appearance.AnyRecordFieldCell.CellType = "ComboBox";
this.gridGroupingControl1.TableDescriptor.Columns[2].Appearance.AnyRecordFieldCell.ChoiceList = sc;

Let me know if this helps.

Regards,
Jisha

Awanish
Replied On June 30, 2009 07:34 AM UTC

Thanks Jisha.

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;