Headless Mode
Runs the grid's data engine (sorting, filtering, grouping, selection, pagination, calculated columns) without rendering any DOM. It exposes a state snapshot and actions, for use in tests, workers or fully custom UIs.
Planned. This page shows the specification from issue #206. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
A headless instance is shown as a JSON snapshot together with a plain HTML table that is rendered from that snapshot.
Expected behavior
Actions update the snapshot, and the plain table re-renders from it. No WarGrid DOM is created.
Planned API surface
createHeadlessGridgetRowModelgetVisibleColumnsdispatchsubscribesnapshotAcceptance criteria
- The headless build does not depend on the DOM API (pending)
- The row model output equals the output of the rendered grid for the same state (pending)
- Events still fire in headless mode (pending)