AD
Administrator
Syncfusion Team
April 10, 2006 12:18 PM UTC
Hi Fady,
Try the below snippet code to get the current cell row/col index in the CurrentCellChanged event handler.
private void gridControl1_CurrentCellChanged(object sender, System.EventArgs e)
{
GridControl grid = sender as GridControl;
Console.WriteLine(string.Format("Row index:{0}, Col index:{1}", grid.CurrentCell.RowIndex,grid.CurrentCell.ColIndex));
}
Regards,
Calvin.
AD
Administrator
Syncfusion Team
April 10, 2006 12:34 PM UTC
thanks calvin, it works
fady