How to change Kendo UI grid page index programmatically?
You might to use: grid.dataSource.query({ page: 3, pageSize: 20 }); Documentation in here. or: grid.dataSource.page(3); Documentation in here
You might to use: grid.dataSource.query({ page: 3, pageSize: 20 }); Documentation in here. or: grid.dataSource.page(3); Documentation in here
You can subscribe to the Sync event of the grid’s data source and call the read method of its data source. .Events(events => events.Error(“error_handler”).Sync(“sync_handler”)) function sync_handler(e) { this.read(); }
How do you define the row that you want to update? I’m going to assume that is the row that you have selected, and the name of the column being updated is symbol. // Get a reference to the grid var grid = $(“#my_grid”).data(“kendoGrid”); // Access the row that is selected var select = grid.select(); … Read more
You can use $(‘#GridName’).data(‘kendoGrid’).dataSource.read(); <!– first reload data source –> $(‘#GridName’).data(‘kendoGrid’).refresh(); <!– refresh current UI –>