Menu

1 / 2

Which JavaScript table library? We built the same table nine times so you don't have to

DEV Community: react·Rufus Pollock·6 days ago
#Q98ZXLUq
#devtoreact#devto#dev#grid#rows
Long article (820 words) — no AI summary yet.
Reading 0:00
15s threshold

We needed a new JS table library for DataHub's dataset preview: has to show a CSV of anywhere from a hundred rows to half a million.

I went looking for a comparison of table libraries and found lists: a dozen names, a feature matrix, no demos, and often a closing paragraph that just said: "it depends".

So we built a proper comparison:

https://tables.datahub.io

What to use

Here's what we'd use.

Job Use Runner-up

A table on a page (up to a few thousand rows) Plain <table> Observable Inputs

A big grid (up to 500,000 rows, sort and filter built in) AG Grid Community RevoGrid

An editable grid (edit cells, paste ranges) Tabulator RevoGrid

If you are in React and want your own markup and CSS, use TanStack Table with a virtualizer. That is what DataHub does.

What we did

Eight libraries and a plain <table> , on the same UK Land Registry sales data at 1,000 rows, 1,000 rows by 80 columns, 50,000 and 500,000, with the same harness and cell formatter.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.