Kendo UI grid and custom popup delete confirmation

拜拜、爱过 提交于 2019-11-28 11:51:52

问题


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 .

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)

anyone has success with it?

Thanks in advance


回答1:


The delete confirmation popup is a build-in browser alert box

<script>
       alert("Hello! I am an alert box !");
</script>

so u need a custom grid command with custom kendo window

Demo



来源:https://stackoverflow.com/questions/28514845/kendo-ui-grid-and-custom-popup-delete-confirmation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!