daniel-nagy / md-data-table

Material Design Data Table for Angular Material
MIT License
1.9k stars 519 forks source link

User Interface Lag #602

Closed dschreck17 closed 7 years ago

dschreck17 commented 7 years ago

I have an array of 1000 records (pretty large JSON objects though) and whenever I use the pagination or sort by one of the column headers the table takes a few seconds to respond. The data is all client side. Is there any solution for making the sort/pagination respond faster or display an activity indicator while it is processing?

ghost commented 7 years ago

yeap. You must use server side pagination, i.e.: ?page=1&top=10&skip=0&order=-name

dschreck17 commented 7 years ago

ahh okay thanks @Satif