Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ng-grid paging
Message
 
 
À
26/10/2014 02:27:52
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
Divers
Thread ID:
01609778
Message ID:
01609950
Vues:
40
>Trying things at random means you are just thrashing around. If something doesn't work then debug 'till you find out why - then look for the solution.

Ok, looks like I got the answer on stackoverflow:

http://stackoverflow.com/questions/26536362/angularjs-ng-grid-shows-blank-grid-first

It does indeed sound like the resizing problem as switching between dev. tools and back causes resize and also 2 accounts correctly show up right away (but not others).

Adding $(window).trigger('resize'); at the end of the load procedure fixed the problem for me. Now when this guy explained that problem, it seems quite obvious that it was indeed the problem with resizing.

UPDATE. I re-introduced the paging back, all as well now.

Well, thanks to that guy in stackoverflow for the answer!
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