Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ng-grid paging
Message
 
 
General information
Forum:
Javascript
Category:
Other
Title:
Miscellaneous
Thread ID:
01609778
Message ID:
01609870
Views:
34
>You could try:
var pagedData = angular.copy(data.slice((page - 1) * pageSize, page * pageSize));
>
>
This seemed to solve the problem although I'm going to get the latest ng-grid now and check the source code and apply the other suggested change rather than this one.

Also, one extra problem - do you have the same behavior? If the original load returns 0 rows, the paging controls show up below the grid.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform