I have read that after inserting a new row in edit mode, it takes two Escape presses to allow the row to be deleted. Why does it take two presses, what is the underlying functionality that requires this, and is there a way to configure it so the user only has to press once?
Thanks in advance,
Steve
2 Answers, 1 is accepted
0
Accepted
Maya
Telerik team
answered on 25 Jun 2013, 07:30 AM
Hello Steve,
The first pressing of Escape makes the cell go out of edit mode and the second one reverts the changes made to the underlying property.
What you can try is to create your own custom keyboard command provided (as illustrated in this article and this blog post) and change the commands executed for Escape key to CancelRowEdit.
For example:
public override IEnumerable<ICommand> ProvideCommandsForKey(Key key)