saveChanges
Saves any pending changes by calling the sync method. Fires the saveChanges event.
Example - saving changes
<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.addRow();
treeList.saveChanges();
</script>