AD
Administrator
Syncfusion Team
January 7, 2004 08:36 PM UTC
CellButtonClicked is fired for any cell button (like a combobox button including a pushbutton).
PushButtonClick is only fired for pushbuttons. This event is also fired when the spacebar is pressed if the pushbutton cell has focus. CellButtonClicked is not fired in this case.
If you want to set the currentcell when a PushButton is clicked, you can handle the PushButtonClick event, and in your handler, call:
this.gridControl1.CurrentCell.MoveTo(e.RowIndex, e.ColIndex);