Status: In flight (initiative active). 2026-07-21.

Context

Across PaidHR, table columns are currently hardcoded per page in the frontend — every list/report screen carries its own bespoke column definitions, rendering, filtering, and pagination code. Reports, being the most table-heavy surface, feel this most: 26 report endpoints, a custom builder, dozens of pre-built reports, each needing table plumbing.

Decision / direction

The server-driven-tables initiative defines one JSON envelope — { schema, rows, totals, pagination } — where the backend describes columns (incl. grouped headers), cell types, badge/status colors, actions, totals, and per-user customization, so the frontend renders any table with no page-specific code. Reporting is its flagship consumer:

Consequences

Good:

Bad / costs:

Guidance