I’m working with grid, everything is perfect: i can update delete and add rows, and changes are being updated immediatly
but i have a problem with the pager:
even in example page
http://rniemeyer.github.com/knockout-kendo/web/Grid.html
,when records in grid are fewer than one pageSize :
the message is on pager is:”NaN – NaN of 3 items” (which is wrong, it must be like “1 – 1 of 3 items”)
Is where any workaround to solve this little problem?
Thanks Forward
The problem is because
pageSizeis not defined. For demonstrating it, define a grid withidset to grid. Then add the following HTML tag:and the following JavaScript code:
You will see that initially it shows the
NaN - NaN of 3 itemsbut as soon as youclickon Fixbuttonit will show1 - 2 of 3 items.