AD
Administrator
Syncfusion Team
February 9, 2004 09:46 PM UTC
You can get the DataRowView object that is the SelectedItem in the CurrentCellCloseDropDown event (if your GridListControl''s DataSource is a DataTable).
private void gridControl1_CurrentCellCloseDropDown(object sender, Syncfusion.Windows.Forms.PopupClosedEventArgs e)
{
GridCurrentCell cc = this.gridControl1.CurrentCell;
GridDropDownGridListControlCellRenderer cr = cc.Renderer as GridDropDownGridListControlCellRenderer;
DataRowView drv = ((GridDropDownGridListControlPart)cr.ListControlPart).SelectedItem as DataRowView;
Console.WriteLine(drv[0]);
}