What this thread does
As of November 2026, tablecn remains a server-side table reference; its multiplayer demo uses PartyServer.
Do first: adapt the URL-state table pattern before adopting the demo infrastructure.
The problem
Your table has thousands of rows, so the agent's client-side sort and filter is too slow or wrong, and you want filters that feel like Linear or Notion.
What the source shows
tablecn (MIT) lists these features:
- server-side pagination, sorting and filtering;
- filters auto-generated from column definitions;
- a Notion/Airtable-like advanced filter and a Linear-like command-palette filter menu;
- an action bar on row selection;
- infinite scroll with virtualization and a real-time collaboration demo.
Its stack includes Next.js, Tailwind, shadcn/ui, TanStack Table, PostgreSQL, Drizzle and Zod; the multiplayer layer uses PartyServer on Cloudflare Durable Objects. The README credits shadcn's tasks example as the starting point. Docs: diceui.com.
How to use it with an agent
Do not clone and run it blindly (the quick setup starts Docker and a database, and the manual setup also starts a PostgreSQL container; hosting the multiplayer worker requires a separate Cloudflare deployment). Suggested prompt: Read how tablecn keeps page, sort and filter state in the URL, then do the same in our table. Validate incoming parameters and query the database on the server. Add a row-selection action bar.
Mistakes to watch
- Mixing client-side filtering with server-side paging so counts are wrong.
- Letting the agent copy the whole demo, database and multiplayer parts included, when you need only the table.
Limits
The README's stack is specific (Drizzle, Postgres); the URL-state idea transfers, the code may not.
Primary source
- tablecn README: features, stack and Docker setup; hosting multiplayer requires a separate Cloudflare Worker deployment.
- Dice UI data table: nuqs keeps table state in URL search parameters.
Started from a post by @sadmann7, packaged by the editor. Original post