enableEditing

Toggle on the Grid's editing capabilities. Requires editable to be enabled.

Example - Enable editing in the Grid

<button id="toggle-edit">Toggle Edit</button>
<div id="grid"></div>
<script>
$("#grid").kendoGrid({
  columns: [
    { field: "name" },
    { field: "age" },
    { command: "edit" }
  ],
  dataBound: (e) => {
    // Disable editing by default.
    e.sender.disableEditing();
  },
  dataSource: {
    data: [
      { id: 1, name: "Jane Doe", age: 30 },
      { id: 2, name: "John Doe", age: 33 }
    ],
    schema: {
      model: { id: "id" }
    }
  },
  editable: "inline"
});

$("#toggle-edit").kendoButton({
  click: (e) => {
    $("#grid").data("kendoGrid").enableEditing();
  }
});
</script>
In this article