WarUI

Column State Events

GRID-A08-F21P0baselinePlanned

A unified set of events reports every column change, with a consistent payload that includes source and finished flags. Applications can then persist state, sync URLs or log analytics reliably.

Planned. This page shows the specification from issue #185. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A grid with a live event inspector table listing type, source, finished and the affected columns.

Expected behavior

Every resize, move, pin, visibility change and group open or close produces a typed event. Intermediate drag events have finished=false. Exactly one finished=true event fires per user gesture.

Planned API surface

event:columnStateChangedpayload.typepayload.columnspayload.source ('pointer'|'keyboard'|'api'|'chooser'|'menu'|'responsive'|'restore')payload.finished

Acceptance criteria

  • The payload schema is identical across event types, apart from type-specific fields. (pending)
  • Exactly one finished=true event fires per gesture. (pending)
  • The source correctly identifies the origin for all paths. (pending)
  • Events are emitted after the state is applied, so getColumnState inside a handler reflects the new state. (pending)
  • Changing state inside a handler does not cause infinite recursion. Nested events are queued. (pending)