Kendo UI Web grid read fails after pagination -


i using kendo ui web grid on asp.net mvc 4 application. noticed strange problem in it.

i have grid 72 records, show 20 records per page size. can click on pagination see next 20 records.

after click on next page 2 can see next 20 records of 72.

here have jquery call refresh grid.

var grid = $("#mygrid").data("kendogrid");         grid.datasource.read(); 

enter image description here

i noticed problem is, when use jquery read grid again. not resetting [datasourcerequest] datasourcerequest request , creating problem.

how can fix this.

solution following @paris below code resolved issue.

var grid = $("#mygrid").data("kendogrid"); grid.datasource.page(1);         grid.datasource.read(); 

try putting grid.datasource.page(1); before read() call if don't mind refreshing grid page one.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -