I have an web application that uses Kendo Grid. How would I obtain the values of "Ticket No" of the selected check-boxes?
My code is:
var grid = $("#poGrid").data("kendoGrid");
grid.items().filter(":has(:checked)").each(function () {
var tr = $(this);
console.log(grid.dataItem(tr));
console.log("Length => " + grid.dataItem(tr.length.toString()));
});
console.log(" grid.items().length => " + grid.items().length);
console.log(" grid.dataItem.ticketNumber => " + grid.dataItem.ticketNumber);
Aucun commentaire:
Enregistrer un commentaire