kendogrid
-
How to Set or Get a kendogrid datasource pagesize / page♣ Tech & Biz Salon/Tech 2013. 6. 20. 17:06
1. event codeds = new kendo.data.DataSource({transport: { read: { url: dsUrl, dataType: "json" }}, pageSize: panelBar_pht.pageSize,change: function(e) {panelBar_pht.pageSize = this.pageSize();panelBar_pht.page = this.page();}}); 2. set or get pagesize or page var grid = $("#gridBx_phtAlbm").data("kendoGrid"); // GET grid.dataSource.pageSize();grid.dataSource.page(); // SET grid.dataSource.pageSi..