Kendo UI网格和自定义弹出删除确认 [英] Kendo UI grid and custom popup delete confirmation
问题描述
我有一个kendoui网格,我在metronic模板中使用它...我希望用更好的彩色更改删除确认弹出窗口(不是文本)。
I've got a kendoui grid and I'm using it inside a metronic template... I wish to change the delete confirmation popup (not the text) with a colored better one .
我正在使用MVC Kendo助手来创建网格,据我所见,没有任何代码拦截弹出消息(例如 http://www.keenthemes.com/preview/metronic/theme/templates/admin/ui_confirmations.html 事件处理)
I'm using MVC Kendo helpers to create the grid and as far as I've seen there's no piece of code where intercept the popup message (ex. http://www.keenthemes.com/preview/metronic/theme/templates/admin/ui_confirmations.html Event Handling)
任何人都有成功吗?
提前致谢
推荐答案
删除确认弹出窗口是内置浏览器警告框
The delete confirmation popup is a build-in browser alert box
<script>
alert("Hello! I am an alert box !");
</script>
所以你需要一个带有自定义kendo窗口的自定义网格命令
so u need a custom grid command with custom kendo window
这篇关于Kendo UI网格和自定义弹出删除确认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!