Performance issue: data table with pagination
See original GitHub issueBug, feature request, or proposal:
Bug
What is the expected behavior?
Data Table should not recreate the rows when going to the next page.
What is the current behavior?
Data Table should reuse the rows when going to the next page.
What are the steps to reproduce?
https://material.angular.io/components/table/overview#pagination
What is the use-case or motivation for changing an existing behavior?
Angular Material has several performance issues which I think should be addressed.
The web is already slow, no need to make it any slower.
Consider using trackBy
feature.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/material: ^2.0.0-beta.10
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Datatables performance issue with large data
Hi, I have a datatable with almost 3k+ rows. It's making the datatable very slow with keyword search, Pagination and even individual column ......
Read more >Performance issue: data table with pagination #6883 - GitHub
Angular Material has several performance issues which I think should be addressed. The web is already slow, no need to make it any...
Read more >Pagination performance guidelines - GitLab Docs
Based on the data distribution in the table, confidential issues are rare. Filtering them out does not make the database query significantly slower....
Read more >Data table performance issue - MSDN - Microsoft
Requirement: i am building an application using Jquery datatable causing me the performance issue. I have issue in binding the total number ...
Read more >Performance Issue In jQuery DataTable About Fetching ...
To resolve this performance issue, I am going to show you datatables server-side paging, sorting and filtering in asp.net MVC application.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@SpEcHiDe Shouldn’t be a problem, just use template reference strings to grab the paginator, e.g.
Template:
Component TS:
Here’s a plunker as an example of two tables with separate paginators: https://plnkr.co/edit/GfRj8bxsRjauoqxJil8C?p=preview
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.