Get clicked cell on kendo ui grid change event -
i handling change event of kendo ui grid.
in event handler, cell clicked invoked change event. need cell in order scan contents.
any thoughts?
it's documented in documentation: http://docs.telerik.com/kendo-ui/api/web/grid#events-change
here's example code if have grid configured multiple cell selection (selectable: "multiple, cell"
):
change: function(e) { var item; var selected = this.select(); //get selected cell(s) (var = 0; < selected.length; i++) { item = this.dataitem(selected[i].parentnode); //get selected cell's dataitem } }
Comments
Post a Comment