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:
01609950
Views:
41
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform