Reputation: 162
How can I show a custom confirm dialog after user press ENTER after inline edit, before submit to the server? I found similar old questions here (2010/2011), but maybe there are new functions/events to solve this.
I need to give the user the chance to read some alert, and decide to SAVE or CANCEL edition.
NOTE: I know how to use ui.dialog, that's not my question. It's about jqGrid events callbacks. Thanks!
(my version is Free jqGrid 4.13.7-pre)
Upvotes: 0
Views: 458
Reputation: 3277
In Guriddo jqGrid we have added two events in editRow (inline editing method) onEnter and onEscape
This way it is possible to call your own pop up window and use saveRow or/and restoreRow methods on condition.
Upvotes: 1