<divid="grid"></div><script>$("#grid").kendoGrid({columns:[{field:"id",width:800,stickable:true},{field:"name",width:400,sticky:true,stickable:true},{field:"age",width:800,stickable:true}],columnMenu:true,columnStick:function(e){/* The result can be observed in the DevTools(F12) console of the browser. */console.log(e.column.field);// displays the field of the just sticked column},dataSource:[{id:1,name:"Jane Doe",age:30},{id:2,name:"John Doe",age:33}]});</script>
<divid="grid"></div><script>functiongrid_columnStick(e){/* The result can be observed in the DevTools(F12) console of the browser. */console.log(e.column.field);// displays the field of the just sticked column}$("#grid").kendoGrid({columns:[{field:"id",width:800,stickable:true},{field:"name",width:400,sticky:true,stickable:true},{field:"age",width:800,stickable:true}],columnMenu:true,dataSource:[{id:1,name:"Jane Doe",age:30},{id:2,name:"John Doe",age:33}]});var grid =$("#grid").data("kendoGrid");
grid.bind("columnStick", grid_columnStick);</script>