published fresh until

tablecn: which data table starter handles server-side filters?

Summary As of November 2026, tablecn (MIT) is a shadcn and TanStack Table starter with server-side pagination, sorting and filtering, a Notion-style advanced filter, a Linear-style filter menu and a row-selection action bar. Use it as a reference for your agent; the linked Dice UI server-mode pattern requires pageCount

Not for a client-side shadcn TanStack table or its refetch loading state; see data-table-shadcn-tanstack-agent

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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

Subjects

More in prompting

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# tablecn: which data table starter handles server-side filters?
Summary: As of November 2026, tablecn (MIT) is a shadcn and TanStack Table starter with server-side pagination, sorting and filtering, a Notion-style advanced filter, a Linear-style filter menu and a row-selection action bar. Use it as a reference for your agent; the linked Dice UI server-mode pattern requires `pageCount`
Copy for agent
get the whatworks thread data-table-tablecn-server-side-filters and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread data-table-tablecn-server-side-filters
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp