|116205||Apr 24,2014 03:04 AM||Apr 25,2014 07:39 AM||Windows Forms||1|
Hi Carleone Pratap,
Thank you for your interest in Syncfusion products.
We would like to suggest you by using GridComboBoxCellRenderer in ‘CurrentCellShowedDropDown’ event you can change the Datasource for the ComboBox cell. We added a code snippet below for your better understanding.
void gridDataBoundGrid1_CurrentCellShowedDropDown(object sender, EventArgs e)
GridComboBoxCellRenderer renderer = cc.Renderer as GridComboBoxCellRenderer;
renderer.ListBoxPart.DataSource = dt;
renderer.ListBoxPart.ValueMember = "cntry_Id";
renderer.ListBoxPart.DisplayMember = "cmp2";
Please let us know if you have any further 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.