AD
Administrator
Syncfusion Team
February 26, 2007 03:18 PM UTC
Hi Shankar,
Try calling the CurrentCell.MoveTo method in CellButtonClicked event of the Grid. Here is a code snippet.
this.gridControl1.CellButtonClicked +=new GridCellButtonClickedEventHandler(gridControl1_CellButtonClicked);
private void gridControl1_CellButtonClicked(object sender, GridCellButtonClickedEventArgs e)
{
GridCurrentCell cc = (sender as GridControl).CurrentCell;
cc.MoveTo(e.RowIndex,e.ColIndex,GridSetCurrentCellOptions.SetFocus);
}
Best regards,
Haneef