ssuperczynski / ngx-easy-table

The Easiest Angular Table. 12kb gzipped! Tree-shakeable. 55 features and growing!
https://ngx-easy-table.eu
MIT License
371 stars 100 forks source link

Problems with persistence for pagination when having multiple tables #414

Open thomfre opened 1 year ago

thomfre commented 1 year ago

This is similar to #229, but will manifest itself when you have multiple tables and persistState enabled.

The issue is that the last table you interact with will update the onPagination stored in local storage. On subsequent refreshes all tables on the page (regardless of their ID) will have the onPagination event triggered with the value from local storage - including having the wrong limit set.

This is also mentioned in a comment on #229.