Hi Gaukhar Massabayeva,
Thank you for your interested in Syncfusion products,
|
Query 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. |
Regards,
Vinish.
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?
Hi Gaukhar Massabayeva,
Thanks for the update.
|
Query: 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.
Regards,
Arun.