Kendo UI grid and custom popup delete confirmation

2020-02-16 02:59发布

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条回答
女痞
2楼-- · 2020-02-16 03:35

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

查看更多
登录 后发表回答