I have a update button in grid. So when I click on update button I am able to get the data of the grid but,
Can any one help me to find the PageSize and Page number of a Kendo Grid in the Jquery ?
You can get page number by calling function page() on the dataSource object in kendo grid you have, and page size by calling function pageSize() of that object.
This is how you should do it, based on official Kendo UI documentation http://docs.kendoui.com/api/framework/datasource#methods-page :
$("#GRID_ID").data("kendoGrid").dataSource.pageSize();
$("#GRID_ID").data("kendoGrid").dataSource.page();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With