Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ng-grid paging
Message
 
 
À
24/10/2014 02:27:39
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
Divers
Thread ID:
01609778
Message ID:
01609856
Vues:
36
>That seems to imply an exception being thrown somewhere in $scope.getPagedDataAsync()? Do you have 'Pause on exceptions' checked in the debugger ?
>IIRC correctly this method is no longer actually async - is that correct ?
>

Yes, this method does very little now - it just sends data to another method.


>Also, can you explain how your logic regarding ' $scope.isEditLoading ' - why are you waiting 250ms before setting it true ?
>
>

This is an interesting question - the code in the controller is auto-generated (we then add more logic). Why it is set this way I am not sure myself.

Also, yesterday I commented out the paging options and enablePaging and still the behavior was the same. So, the problem is not in the paging, the problem is that when my data change, somehow grid doesn't react and display them. Only by switching to dev tools I can get it to react to that new data set.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform