Mui-datatables: Lazy load pages in huge content scenarios

Created on 20 Sep 2019  路  2Comments  路  Source: gregnb/mui-datatables

Expected Behavior

Is there a way we can configure the mui data table to load first few pages (1 or 2) and then perform on-demand lazy load when clicking the 3rd page?

Current Behavior

Our current usage of this mui-data table loads about 6MB of data and accessing from poor network bandwidth locations takes about 1-2 minutes to load.

question

All 2 comments

Hello @kkmathigir. You have access to an onChangePage as well as onTableChange function which should allow you to do this. You can take a look at the serverside-pagination example for some ideas about how to implement it.

Thanks @gabrielliwerant . We will take a look at them and get back for any further questions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

naothomachida picture naothomachida  路  3Comments

Aankhen picture Aankhen  路  3Comments

ronaiza-cardoso picture ronaiza-cardoso  路  3Comments

alexanderwhatley picture alexanderwhatley  路  4Comments

cahna picture cahna  路  3Comments