Hi,
I have a simple grid and I'm using the script shown in the documentation.
In my code, I have this in my grid's options:
It gives me an error:
What am I missing?
Thanks
I have a simple grid and I'm using the script shown in the documentation.
var grid = $("#grid").data("kendoGrid");
grid.select("tr:eq(1), tr:eq(2)");
dataBound: function (e){
console.log(e.sender);
if (e.sender.dataSource && e.sender.dataSource.data().length>4){
this.select("tr:eq(1)");
}
TypeError: Object [object Object] has no method 'selected'
Thanks