I have a Kendo grid where I need to customize the delete confirmation message box based on data in row being deleted. I have a customized general message as part of Grid configuration as below.
editable: {
confirmation: "Are you sure that you want to delete this record?",
mode: "popup",
template: kendo.template($("#popup-editor").html())
}
I was looked at using the remove event handler, but that fires after the row has been deleted.
I am guessing you will need to do this manually. Simply add a custom button to the grid, that calls your code to delete the item.
Kendo Grid Custom command http://demos.kendoui.com/web/grid/custom-command.html
Sample jsbin http://jsbin.com/OZeLuXA/1/edit
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments