Hi Rob,
Thank you for your patience.
If your intention is to call the currentcellchanged event while undo(ie., while pressing Ctrl+Z), you need to handle CurrentCellKeyDown event, then check if Ctrl+Z key is pressed, if so you need to set the IsModified property of CurrentCell to true and set the ControlText property of CurrentCell. Please refer the below code for more details.
void gridDataBoundGrid1_CurrentCellKeyDown(object sender, KeyEventArgs e)
{
string s = e.KeyCode.ToString();
bool skipit = false;
if (e.KeyCode == Keys.Control)
skipit = true;
if (!skipit)
{
KeysConverter con = new KeysConverter();
if (e.Control && e.KeyCode == Keys.Z)
{
this.gridDataBoundGrid1.CurrentCell.IsModified = true;
GridCurrentCell cc=this.gridDataBoundGrid1.CurrentCell;
this.gridDataBoundGrid1.CurrentCell.Renderer.ControlText = this.gridDataBoundGrid1.Model[cc.RowIndex,cc.ColIndex].Text;
}
}
}
Here is the minimal sample which solves this issue.
http://websamples.syncfusion.com/samples/grid.windows/F73726/main.htmPlease let me know if this helps.
Best Regards,
Srirajan