Edit this page

editable.confirmDelete String (default: "Delete")

If confirmation is enabled the grid will display a confirmation dialog when the user clicks the "destroy" command button. If the grid is in mobile mode this text will be used for the confirm button.

Example - change the confirm delete button text

<div id="grid"></div>
<script>
$("#grid").kendoGrid({
   columns: [
     { field: "name" },
     { field: "age" },
     { command: "destroy" }
   ],
   dataSource: {
    data: [
     { id: 1, name: "Jane Doe", age: 30 },
     { id: 2, name: "John Doe", age: 33 }
    ],
    schema:{
     model: {
      id: "id",
      fields: {
        age: { type: "number"}
      }
     }
    }
   },
   mobile: "phone",
   editable: {
     confirmation: true,
     confirmDelete: "Yes"
   }
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy