WarUI

Boolean column type

GRID-A07-F07P1baselinePlanned

`type: 'boolean'` renders values as a check icon, a checkbox or custom text labels, and supports a tri-state null. It is centered by default and supports one-click toggling when the column is editable.

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

Live example

A users grid with an Active (true/false) column and a Verified (true/false/null) column.

Expected behavior

The display switches between modes. In editable checkbox mode, Space or a click toggles the value. With null allowed, the cycle is true → false → null.

Planned API surface

type'boolean'booleanDisplaytrueLabelfalseLabelnullLabeleditableonCellValueChange

Acceptance criteria

  • Null renders a distinct visual and accessible state ('mixed' or nullLabel). (pending)
  • Truthy values that are not booleans are coerced only when `coerce: true`. Otherwise they render as invalid. (pending)
  • An editable toggle fires a single value-change event per activation. (pending)