Fires before the widget binds to its data source. The event handler function context (available through the this keyword) will be set to the widget instance.
If invoked, prevents the data bind action. The table rows will remain unchanged and the dataBound event will not fire.
<divid="treeList"></div><script>$("#treeList").kendoTreeList({columns:[{field:"Name"},{field:"Position"}],dataSource:[{id:1,Name:"Daryl Sweeney",Position:"CEO",parentId:null},{id:2,Name:"Guy Wooten",Position:"Chief Technical Officer",parentId:1}],dataBinding:function(e){/* The result can be observed in the DevTools(F12) console of the browser. */console.log("dataBinding");}});</script>
<divid="treeList"></div><script>functiondataBinding(e){/* The result can be observed in the DevTools(F12) console of the browser. */console.log("dataBinding");}$("#treeList").kendoTreeList({columns:[{field:"Name"},{field:"Position"}],dataSource:[{id:1,Name:"Daryl Sweeney",Position:"CEO",parentId:null},{id:2,Name:"Guy Wooten",Position:"Chief Technical Officer",parentId:1}]});var treeList =$("#treeList").data("kendoTreeList");
treeList.bind("dataBinding", dataBinding);
treeList.dataSource.fetch();</script>