jqGrid:在内联编辑中提交之前确认对话框?
jqGrid: confirm dialog before submit in inline editing?
如何在用户在内联编辑后按 ENTER 后提交到服务器之前显示自定义确认对话框?
我在这里 (2010/2011) 发现了类似的旧问题,但也许有新的 functions/events 可以解决这个问题。
我需要让用户有机会阅读一些警告,并决定保存或取消版本。
注意:我知道如何使用 ui.dialog,这不是我的问题。这是关于 jqGrid 事件回调。谢谢!
(我的版本是 Free jqGrid 4.13.7-pre)
在Guriddo jqGrid we have added two events in editRow (inline editing method) onEnter and onEscape
这样就可以调用您自己的弹出窗口 window 并根据条件使用 saveRow or/and restoreRow 方法。
如何在用户在内联编辑后按 ENTER 后提交到服务器之前显示自定义确认对话框? 我在这里 (2010/2011) 发现了类似的旧问题,但也许有新的 functions/events 可以解决这个问题。
我需要让用户有机会阅读一些警告,并决定保存或取消版本。
注意:我知道如何使用 ui.dialog,这不是我的问题。这是关于 jqGrid 事件回调。谢谢!
(我的版本是 Free jqGrid 4.13.7-pre)
在Guriddo jqGrid we have added two events in editRow (inline editing method) onEnter and onEscape
这样就可以调用您自己的弹出窗口 window 并根据条件使用 saveRow or/and restoreRow 方法。