Hi Sireesha,
Thanks for your interest in Syncfusion Products.
The sample attached contains a GridControl in which a cell with collumnindex 2 and rowindex 2 has been declared as ComboBox type.
CurrentCellActivated event has been handled to associate the StringCollection class object as data source to comboBox with the help of Model class which manages the data to be displayed in the grid. ChoiceList gets or sets items to be displayed in the dropdown list.
// Event :
this.gridControl1.CurrentCellActivated+=new EventHandler(gridControl1_CurrentCellActivated);
// Handler
GridCurrentCell cell = this.gridControl1.CurrentCell;
if (cell.RowIndex >= 1 && cell.ColIndex >= 1)
{
this.gridControl1.Model[cell.RowIndex, cell.ColIndex].ChoiceList = language;
}
Please find the sample attached from link mentioned below :
http://help.syncfusion.com/support/samples/Grid.Windows/6.4.0.15/(GridControl_ComboBox_ChoiceList)F92933.zip
You may also refer to the Dash Board Samples from link shown below.
Essential Studio - Windows Forms
2009 Volume 4
Essential studio Samples
Grid Samples -> Cell Types -> Combo Box Cell Demo
Regards,
Ranjeet.