This is a migrated thread and some comments may be shown as answers.

OnCancel does not fire when escaping out of Inline Editing

1 Answer 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Roland
Top achievements
Rank 3
Iron
Iron
Veteran
Roland asked on 01 Aug 2020, 09:21 PM

A grid with Navigable=true allows me to 

  • start editing a newly added record right away, no Command Buttons needed, just some fiddling with grid State
  • stop editing by pressing Escape

However, when using Escape no event is fired. Which is fine when I am editing an existing record, because any modifications are just discarded. But when the user is escaping out of a newly added row, I want to dispose of that row and underlying item immediately.

Without an event to detect the cancel I don't now how to do that.

Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 04 Aug 2020, 09:59 AM

Hello Roland,

I made this public page where you can Follow the status of this issue, and it also contains a concept of a workaround you can try: https://feedback.telerik.com/blazor/1479052-oncancel-does-not-fire-when-escaping-out-of-inline-editing.

 

Regards,
Marin Bratanov
Progress Telerik

Tags
Grid
Asked by
Roland
Top achievements
Rank 3
Iron
Iron
Veteran
Answers by
Marin Bratanov
Telerik team
Share this question
or