editable.destroy Boolean (default: true)

If set to true the user can delete data items from the grid by clicking the "destroy" command button. Deleting is enabled by default.

Example - disable deleting

<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"}
     }
    }
   }
  },
  editable: {
    destroy: false
  },
  toolbar: ["create"]
});
</script>
In this article