在关闭Kendo模态窗口之前,如何获得确认?
我有一个kendo模态窗口,其中有一个表格,因此在关闭之前,我想提醒用户可能会有更改您尚未保存的更改。问题是,Kendo Modal窗口似乎只有关闭事件,因此,如果我在关闭事件上进行预防默认面件,那么很难关闭,如果我尝试添加自定义“ x”按钮,那么它似乎不会坐在右上角。任何帮助/方向都将不胜感激。谢谢
I have a kendo modal window, In which i have a form, so before closing I want to alert the user that there might be changes for that you have not saved. the problem is, kendo modal window seems to have only close event, so if I preventDefault on close event then it is difficult to close, and If I try to add custom 'X' button then it doesn't seem to be seating on the top right corner. any help/direction is appreciated. thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试以下操作:
演示:
dojo
Try this:
Demo:
Dojo