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

CellType DropDown Menu GridGroupingControl

Thread ID:





107001 Feb 6,2013 05:34 PM UTC Feb 18,2013 04:17 AM UTC WinForms 3
Tags: Grouping
Gaukhar Massabayeva
Asked On February 6, 2013 05:34 PM UTC

I would like to be able to set the cell type to a dropdown menu of specified values. Is that possible?
Thank you

Vinish Kumar K [Syncfusion]
Replied On February 8, 2013 10:13 AM UTC

Hi Gaukhar Massabayeva,


Thank you for your interested in Syncfusion products,



Drop Down cell type with specified values.

You can set the DropDown cell type using the GridTableCellStyleInfo. Please refer the following codes for further reference.


GridTableCellStyleInfo ggcStyle = gridGroupingControl1.TableDescriptor.Columns["Customers"].Appearance.AnyRecordFieldCell;

            ggcStyle.CellType = "ComboBox";

            ggcStyle.DataSource = this.GetTheComboTable;

            ggcStyle.ValueMember = "CustomerID";

            ggcStyle.DisplayMember = "CustomerName";


// data source.


private DataTable GetTheComboTable()


            DataTable dt = new DataTable("Customers");


            dt.Columns.Add(new DataColumn("CustomerID", typeof(int)));

            dt.Columns.Add(new DataColumn("CustomerName"));


            dt.Rows.Add(new object[] { 5, "William Wordsworth" });

            dt.Rows.Add(new object[] { 3, "Mark Twain" });

            dt.Rows.Add(new object[] { 2, "James Dickey" });

            dt.Rows.Add(new object[] { 4, "Emiley Dickinson" });

            dt.Rows.Add(new object[] { 1, "William Bronk" });


            return dt;


Please use this codes in your application if you have further concerns please let me know we will provide the solution.





Gaukhar Massabayeva
Replied On February 13, 2013 05:06 PM UTC

Hi Vinish, I used your code and the problem I am getting is. Once I select an item from the dropdown menu in One cell - All dropdown cells get populated with that value.

Can you replicate the same issue?

Arun Kumar V [Syncfusion]
Replied On February 18, 2013 04:17 AM UTC

Hi Gaukhar Massabayeva,

Thanks for the update.


select an item from the dropdown menu in One cell - All dropdown cells get populated with that value.

I have attached a sample file based on our latest version for the reported behavior. Please let me know what version you are using, and if possible please give me a screenshot reporting the behavior. So that I can give some better information to get the exact behavior.

Please let me know if you have any other concerns.





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

This page will automatically be redirected to the 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