<divid="gantt"></div><script>$("#gantt").kendoGantt({dataSource:[{id:1,orderId:0,parentId:null,title:"Task1",start:newDate("2014/6/17 9:00"),end:newDate("2014/6/17 11:00")},{id:2,orderId:1,parentId:null,title:"Task2",start:newDate("2014/6/17 12:00"),end:newDate("2014/6/17 14:00")}],change:function(e){var selection =this.select();var task;if(selection){
task =this.dataItem(selection);/* The result can be observed in the DevTools(F12) console of the browser. */console.log(kendo.format("{0} is selected", task.title));}}});</script>
<divid="gantt"></div><script>functiongantt_change(e){var selection =this.select();var task;if(selection){
task =this.dataItem(selection);/* The result can be observed in the DevTools(F12) console of the browser. */console.log(kendo.format("{0} is selected", task.title));}}$("#gantt").kendoGantt({dataSource:[{id:1,orderId:0,parentId:null,title:"Task1",start:newDate("2014/6/17 9:00"),end:newDate("2014/6/17 11:00")},{id:2,orderId:1,parentId:null,title:"Task2",start:newDate("2014/6/17 12:00"),end:newDate("2014/6/17 14:00")}]});var gantt =$("#gantt").data("kendoGantt");
gantt.bind("change", gantt_change);</script>