Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ng-grid paging
Message
 
 
À
27/10/2014 08:21:01
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
Divers
Thread ID:
01609778
Message ID:
01609971
Vues:
39
>>I believe my code was exactly the same as plunker's code. Also, I was trying to add $scope.$apply() and the end of the load procedure in addition to that code and it had no effect.
>
>Another question: in setPagingData() you have
$scope.totalServerItems = data.length;
Is the totalServerItems the value you were referring to when you said the total number of items shows correctly ?
>If so you're not comparing like with like - data is not your grid source.....

I was also checking gridOptions.data and it was always correct.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform