Hi RH,
Question 1:
Please refer this forum thread that discusses controlling the order of columns in GridListControl.
http://www.syncfusion.com/support/Forums/message.aspx?MessageID=26398
Question 2: Accessing selected row
You can use the code below in the CurrentCellCloseDropDown event to get the selected row in the GridListControl dropdown.
void gridControl1_CurrentCellCloseDropDown(object sender, Syncfusion.Windows.Forms.PopupClosedEventArgs e)
{
GridCurrentCell cc = this.gridControl1.CurrentCell;
GridDropDownGridListControlCellRenderer cr = cc.Renderer as GridDropDownGridListControlCellRenderer;
if (cr != null)
{
Console.WriteLine("Selected Value: {0}", cr.ListControlPart.SelectedValue);
DataRow dr = ((DataRowView)cr.ListControlPart.SelectedItem).Row;
Console.WriteLine(dr[0].ToString());
Console.WriteLine("Selected RowIndex: {0}", cr.ListControlPart.SelectedIndex);
}
}
Please let us know if you need any further help.
Regards,
Rajagopal