design_system/components/data/editable_table_generic library

Classes

CellRef
An immutable cell address (row + visual? no — LOGICAL column index).
CheckboxColumn<T>
A boolean column rendered & toggled as a checkbox.
ComputedColumn<T>
Read-only column derived from the whole row (no setValue).
DateColumn<T>
A masked date column (YYYY-MM-DD), edited inline.
Strict dropdown — value must be one of options.
EditableCellData<T>
Everything a custom cell renderer needs — generic over the row value.
EditableColumn<T>
The schema for one column, generic over the row value T.
EditableTableController<T>
EditableTableFormat
EditableTableScope<T>
Publishes an EditableTableController to descendant page content.
NumericColumn<T>
Numeric column — right-aligned, monospace, optional clamp & decimals.

Enums

CellAlign
Horizontal alignment of a column's content.
EditableColumnType
How a column edits & renders.
EditableSelectionMode
What pointer / keyboard SELECTION does in the grid — a layer independent of the editing cursor. Mirrors ReadableTable's five modes so a typed editable grid offers the same selection diversity (rows / cells, single / multi).
SortDir
Sort direction for a column.

Functions

mapColumn(String key, String label, {double width = 160, EditableColumnType type = EditableColumnType.text, bool readOnly = false}) EditableColumn<EditableRow>

Typedefs

EditableCellBuilder<T> = Widget Function(BuildContext context, EditableCellData<T> cell)
EditableCellValidator<T> = String? Function(String value, T row)
EditableRow = Map<String, String>