Skip to content

Performance issues #4612

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mparisi76 opened this issue Oct 30, 2015 · 2 comments
Open

Performance issues #4612

mparisi76 opened this issue Oct 30, 2015 · 2 comments

Comments

@mparisi76
Copy link

Hi, first off, great job on a great datagrid control. I'm running into issues when using more than one of these on a page at once. Does ui-grid support this scenario? Ultimately, I would have up to 10 datagrids on one page. Could this be an issue with page performance or in any other area? I see some oddness, like my page freezing up, right mouse button not working, etc..

Thanks.

Matt

@sinntar
Copy link

sinntar commented Nov 9, 2015

same issue here. any suggestion on this ??

@PaulL1
Copy link
Contributor

PaulL1 commented Nov 9, 2015

Usually when people put a lot of grids on a page they're putting them in a tab. The general rule for putting them on tabs is that you wrap an ng-if around the grid, and only render it if actually visible - one of the tutorials covers doing this I believe.

If you're not doing doing this in a tab, then you're probably setting up for difficulties, even more so if also on IE. The grid is pretty heavy weight - there's a hell of a lot of watchers, at a minimum one per cell, but often a lot more than that depending on what features you use. Multiply that by 10 and it starts getting scary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants