我正在使用 Kendo MVVM。我有一个具有添加、编辑删除等基本功能的网格。对于删除,我使用下面的代码。当我点击删除时,我收到一条 JavaScript 确认消息。相反,我需要带有自定义文本的 Kendo 确认消息。有人可以帮我弄这个吗?
我的删除代码。
,{
command: [{
name: 'destroy',
text: ''
}]
}
最佳答案
您可以在 Kendo UI for JQuery 文档页面 Customize Confirmation Window 中找到有关此功能的信息。
To achieve this behavior, use the Kendo UI templates, the Window, and the remove dataSource method of Grid.
关于javascript - Kendo Grid 自定义删除确认消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51375219/