Loading table
Server Data Table
A controlled, transport-neutral TanStack Table starter for server-filtered, sorted, and paginated rows.
A controlled, transport-neutral TanStack Table starter for server-filtered, sorted, and paginated rows.
DataTableServer takes a status of idle, loading, refreshing, success, empty or error and draws each in place: placeholder rows on the first load, a message with Retry if it fails, and a small notice only when a refresh takes longer than 300 ms.
Its feature set leaves sorting, filtering and paging to the server, with request types for offset and cursor paging. serializeDataTableRequest and parseDataTableRequest keep page, size, sort, filters and search in the URL, accepting only the columns and page sizes a schema lists.