Skip to main content

Module data_views

Module data_views 

Source
Expand description

Material 3 Expressive data-view components (DataTable, Tree, and VirtualList).

Enable the optional data-views feature on gpui-material or gpui-material-extras to use these components without pulling in heavier component groups.

Structs§

DataTable
Material 3 Expressive data table built over gpui-base’s semantic Table primitives.
DataTableCell
Content for a single cell inside a DataTableRow.
DataTableColors
Optional per-instance color overrides for DataTable.
DataTableColumn
Column schema for DataTable.
DataTableRow
One data row inside a DataTable.
Tree
Material 3 Expressive virtualized hierarchical tree view over gpui-base’s BaseTree.
TreeColors
Optional per-instance color overrides for Tree.
TreeNode
A Material-owned hierarchical node for Tree.
TreeRowInfo
Snapshot passed to Tree::render_row for customizing visible node content.
TreeState
Retained state entity for a Material Tree.
VirtualList
Material 3 Expressive virtualized list container over gpui-base’s variable-size BaseVirtualList.
VirtualListColors
Optional per-instance color overrides for VirtualList.
VirtualListScrollHandle
Retained scroll handle for VirtualList.

Enums§

ColumnAlignment
Horizontal alignment of a DataTable column or cell in logical reading order.
SortDirection
Active sort order of a sortable DataTableColumn.
TreeEvent
Events emitted by TreeState when expansion, selection, or activation changes.
VirtualListVariant
Surface presentation variant for VirtualList.