Runtime Schema Evolution
Handles column definitions that change at runtime, such as fields that are added, removed, renamed or retyped. User state like width, order, sort and filters is reconciled and not lost.
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 grid with saved user state and a schema v1.
Expected behavior
Renamed columns keep their width, position and filter. Removed columns have their state dropped and are reported. Changing a type converts a compatible filter or clears it with a notice.
Planned API surface
setColumnDefscolumnAliasesschemaChangedreconcileStatetypeCoercionAcceptance criteria
- columnAliases map old field ids to new ones (pending)
- schemaChanged reports which columns were added, removed, renamed and retyped (pending)
- No exception occurs when the state refers to missing columns (pending)