design_system/components/data/readable_table_models
library
Classes
-
ReadableCell
-
A cell address by row index (into the controller's current row order) +
column index.
-
ReadableColumn<T>
-
One column descriptor. Either width (fixed px) or flex (proportional,
filling the remaining width) sizes the column. cell builds the cell's
content widget from a row value of type
T.
Enums
-
ReadableAlign
-
Horizontal placement of a column's header + cell content.
-
ReadableColumnType
-
The data KIND a column renders. Mirrors
EditableTable's column types so a
read-only grid can present the same diversity of data with consistent
formatting and affordances — without every call site hand-writing a cell
builder. See the ReadableColumn.<kind> factories below.
-
ReadableSelectionMode
-
What a ReadableTable / its controller lets the user select.
-
ReadableSortDir
-
Current sort direction of a column.