Custom reusable column types
Apps register named column types in `columnTypes`, each a partial column definition. Columns reference them by name and can stack several, for example ['currency','editableMoney']. This centralizes conventions across many grids and makes the 'custom' type a first-class extension point.
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 grid using two app-defined types: 'percentChange' (number with an arrow icon and red/green classes) and 'sku' (monospace text).
Expected behavior
Editing the type definition updates every column that uses it. Stacked types merge left to right.
Planned API surface
columnTypestyperegisterColumnTypeGridDefaultsextendsAcceptance criteria
- type accepts a string or an array. Later entries override earlier ones. (pending)
- Built-in types can be extended via `extends` without being mutated. (pending)
- An unknown type name logs a dev warning and falls back to 'text'. (pending)
- Global registrations are overridden by per-grid columnTypes. (pending)