Re:Show HN: Grid.js – Advanced table library that works ever...
by w-ll on Thursday June 04, 2020 @03:38PM
(#23420837)
It looks like sorting / pagination is all down client side which forces a download of all the rows, how well does this support tables with 10s or 100s of thousands of rows?
[ Parent
| on HN ]
Re:Show HN: Grid.js – Advanced table library that works ever...
by afshinmeh on Thursday June 04, 2020 @03:45PM
(#23420909)
Correct. I have a PR ready which integrates the sort, search and pagination with the server-side module. Currently, there is a Server Side module that pulls data from the server (https://gridjs.io/docs/examples/server).
Re:Show HN: Grid.js – Advanced table library that works ever...
by _bxg1 on Friday June 05, 2020 @12:18AM
(#23425029)
Quick tip: for the client-side, large dataset case, if you want to get fancy it's possible to create a worker thread and perform the sort there, which makes it somewhat faster but more importantly stops it from freezing up the tab while it operates. We did this to great success at my last company when we needed to sort ~200,000 items client-side. The UI thread remained perfectly responsive during the operation and we were able to present the user with a loading spinner while it worked.
Re:Show HN: Grid.js – Advanced table library that works ever...
by freedomben on Thursday June 04, 2020 @07:05PM
(#23423026)
when you say "server-side" do you mean this is typescript that runs on the server? thus requiring a node-based server?