$("#grid").kendoGrid({ dataSource: { type: "odata", transport: { read: "http://demos.kendoui.com/service/Northwind.svc/Orders" }, pageSize: 10, serverPaging: true }, height: 250, pageable: true, selectable: "row multiple", columns: [ "OrderID", "Freight", "ShipName", "ShipCity" ], change: function() { var text = ""; var grid = this; grid.select().each(function() { var dataItem = grid.dataItem($(this)); text += "OrderID: " + dataItem.OrderID + "\n"; }); alert(text); } });
0 件のコメント:
コメントを投稿