editCell

Switches the specified table cell in edit mode. Requires the incell edit mode. Fires the edit event.

Parameters

cell jQuery

The jQuery object which represents the table cell.

Example - switching the first cell to edit mode

<div id="treeList"></div>
<script>
  $("#treeList").kendoTreeList({
    columns: [
      { field: "name" },
      { field: "age" }
    ],
    dataSource: [
      { id: 1, parentId: null, name: "Jane Doe", age: 22, expanded: true },
      { id: 2, parentId: 1, name: "John Doe", age: 24 },
      { id: 3, parentId: 1, name: "Jenny Doe", age: 3 }
    ],
    editable: "incell"
});
var treeList = $("#treeList").data("kendoTreeList");
treeList.editCell($("#treeList td:eq(0)"));
</script>
In this article
Not finding the help you need? Improve this article