Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ng-grid paging
Message
From
24/10/2014 13:10:06
 
General information
Forum:
Javascript
Category:
Other
Title:
Miscellaneous
Thread ID:
01609778
Message ID:
01609874
Views:
28
>>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.

Dunno - never tried it :-{
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform