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:
01609876
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 :-{

See my last response. I wanted to go one next step and turned out that I again broke it :( Now it doesn't work again :(
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform