You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is some kind of a "moment" loading if you change pages, sort or filter. After visiting all pages (So I get all subscription if I do console count) clicking quickly on next page you will see that delay or clicking on any sorting few times causes it to. And it happens with 20 or 500 records tables.
I have researched a little bit about datatables speed:
a) is it possible it's because of redraw of the rows? looking at: this stackoverflow question the draw() function defaults to true, setting it false can increase performance dramatically.
b) cached(client-side collection) are not being re-used? If I change to a page I just was in, reuse cached collection for the table can be really nice for performance, combined with "x" limit for first subscription can make first 5 pages load instantly. If you set limit for 100 and each page has 20 records.
The speed is not an issue right now, I just decided to post this as an improvement possibly for the future.
The text was updated successfully, but these errors were encountered:
There is some kind of a "moment" loading if you change pages, sort or filter. After visiting all pages (So I get all subscription if I do console count) clicking quickly on next page you will see that delay or clicking on any sorting few times causes it to. And it happens with 20 or 500 records tables.
I have researched a little bit about datatables speed:
a) is it possible it's because of redraw of the rows? looking at: this stackoverflow question the draw() function defaults to true, setting it false can increase performance dramatically.
b) cached(client-side collection) are not being re-used? If I change to a page I just was in, reuse cached collection for the table can be really nice for performance, combined with "x" limit for first subscription can make first 5 pages load instantly. If you set limit for 100 and each page has 20 records.
The speed is not an issue right now, I just decided to post this as an improvement possibly for the future.
The text was updated successfully, but these errors were encountered: