Skip to main content

Crate orbital_datatable

Crate orbital_datatable 

Source
Expand description

Orbital DataTable — interactive tabular data product for the Orbital component library.

Modules§

preview
Preview registration for DataTable documentation pages and fixtures.

Structs§

AggregationModel
Aggregation model mapping field keys to functions.
AggregationRule
One column aggregation rule.
CellCoord
A single cell address in the visible grid.
CellSelection
Spreadsheet-style cell range selection (anchor + focus).
ChartBinding
Live chart-data context for [DataTableFeatures::CHARTS_INTEGRATION].
ColumnDragGhost
Floating preview shown while drag-reordering a column.
DataRecord
One row of typed values, addressable by field key.
DataSchema
Schema describing the fields in a crate::Dataset.
DataTableColumnDef
Column definition for crate::DataTable.
DataTableColumnGroupDef
Nested column group for multi-row headers.
DataTableContext
Context shared by crate::DataTable and composable subcomponents.
DataTableEmptyView
Props for the DataTableEmptyView slot.
DataTableEmptyViewBuilder
Builder for DataTableEmptyView instances.
DataTableEvents
Event callbacks fired when crate::DataTable state changes or the user interacts with rows/cells.
DataTableFeatures
Optional capabilities enabled on crate::DataTable.
DataTableFilter
Structured filter model for the filter panel and controlled filter prop.
DataTableFooterSlot
Props for the DataTableFooterSlot slot.
DataTableFooterSlotBuilder
Builder for DataTableFooterSlot instances.
DataTableHandle
Imperative handle for programmatic DataTable actions.
DataTableHeaderChromeConfig
Per-column-header chrome toggles (menu, inline filter button, hide-column UX).
DataTableInitialState
One-time initial state applied when crate::DataTable mounts.
DataTableLoadingView
Props for the DataTableLoadingView slot.
DataTableLoadingViewBuilder
Builder for DataTableLoadingView instances.
DataTableLocale
Localized strings for DataTable chrome (footer, overlays, infinite scroll).
DataTableNoResultsView
Props for the DataTableNoResultsView slot.
DataTableNoResultsViewBuilder
Builder for DataTableNoResultsView instances.
DataTablePivotModel
Pivot configuration: row dimensions, column dimensions, and value measures.
DataTablePreviewProps
Props for the DataTablePreview component.
DataTableProps
Props for the DataTable component.
DataTableProviderProps
Props for the DataTableProvider component.
DataTableRowDetail
Props for the DataTableRowDetail slot.
DataTableRowDetailBuilder
Builder for DataTableRowDetail instances.
DataTableRowGrouping
Row grouping configuration (group-by column field keys, in order).
DataTableRowModel
Row model for crate::DataTable.
DataTableSlots
Internal slot content consumed by toolbar, footer, overlay, and row-detail subcomponents.
DataTableSort
Sort model (multi-column when crate::DataTableFeatures::MULTI_COLUMN_SORT is enabled).
DataTableState
Full table state snapshot for export/restore.
DataTableTableState
Reactive table state shared by decomposed sub-components.
DataTableTableStateProviderProps
Props for the DataTableTableStateProvider component.
DataTableToolbarConfig
Built-in toolbar control visibility when no custom crate::DataTableToolbarSlot is provided.
DataTableToolbarSlot
Props for the DataTableToolbarSlot slot.
DataTableToolbarSlotBuilder
Builder for DataTableToolbarSlot instances.
Dataset
The shared shape. Tables render it; charts build series by field key.
EditCellProps
Props passed to custom column DataTableColumnDef::edit_view renderers.
EditFieldDraft
Draft state for a single editable field while a session is active.
EditHistory
Undo/redo stacks for inline edits (gated by super::DataTableFeatures::UNDO_REDO).
EditHistoryEntry
One reversible cell edit pushed onto the undo stack.
EditSessionStore
Runtime edit session storage (draft signals live in the side map).
FieldDef
Shared field descriptor — binding key for table columns and chart series.
FilterRule
Single column filter rule.
ListViewConfig
List view card layout configuration.
NormalizedCellRange
Normalized row/column index bounds into the visible grid.
PaginationState
Pagination state (0-based page index internally).
PinnedColumnsState
Pinned column sides.
PinnedRowsState
Sticky top/bottom row ids (resolved via crate::GetRowId when set).
RowDragGhost
Floating preview shown while drag-reordering a row.
SerializedState
JSON-serialized DataTableState envelope for persistence or clipboard round-trip.
ServerFetchPolicy
Policy for server-driven DataTableSource::Server fetches.
SortRule
Sort rule for a single column.
TreeRowMeta
Derived metadata for a tree row used by the grouping column.

Enums§

AggregationFn
Built-in aggregate functions for numeric and count summaries.
AggregationPosition
Where aggregate values are rendered.
CellAlign
Horizontal cell alignment.
ColumnType
Column type — drives default sort and filter operators.
ColumnWidth
Column width mode.
DataTableColumnGroupChild
Child of a column group — nested group or leaf column reference.
DataTableRowKind
Display row kind for tree, grouping, and aggregation chrome rows.
DataTableSelectionMode
Row selection mode.
DataTableSource
Data source: in-memory records or server fetcher.
DataTableSourceKind
Whether the table reads from client records or a server fetcher.
DataType
Column/field data type descriptor.
DataValue
Typed cell value — replaces stringly-typed HashMap<String, String>.
EditMode
Scope for inline editing: one cell at a time or all editable cells in a row.
EditSession
Active inline edit session for a row.
FilterLogic
How multiple filter rules combine in the filter panel.
FilterOperator
Filter operator for typed DataValue comparisons.
OverlayState
Overlay state for loading, empty, and no-results views.
PaginationDisplayFormat
How the footer labels paged row counts.
PagingMode
Pagination presentation mode.
PinSide
Sticky pin side for a column.

Statics§

DATATABLEADVANCEDDOC_PREVIEW_REGISTRATION
DATATABLECHARTSINTEGRATIONDOC_PREVIEW_REGISTRATION
DATATABLECOLUMNDEFINITIONDOC_PREVIEW_REGISTRATION
DATATABLECOLUMNSDOC_PREVIEW_REGISTRATION
DATATABLEDATASOURCEDOC_PREVIEW_REGISTRATION
DATATABLEEDITINGDOC_PREVIEW_REGISTRATION
DATATABLEEXPORTDOC_PREVIEW_REGISTRATION
DATATABLERENDERINGDOC_PREVIEW_REGISTRATION
DATATABLEROWSDOC_PREVIEW_REGISTRATION
DATATABLESELECTIONDOC_PREVIEW_REGISTRATION
DATATABLESLOTSDOC_PREVIEW_REGISTRATION
DATATABLESORTINGFILTERINGDOC_PREVIEW_REGISTRATION
DATATABLESTATEDOC_PREVIEW_REGISTRATION
DATATABLE_PREVIEW_REGISTRATION

Functions§

DataTable
Presents sortable, filterable tabular data with built-in toolbar, selection, and pagination.
DataTableBody
Body listing processed rows (optionally virtualized).
DataTableFooter
Footer with row count and pagination bar.
DataTableHeader
Header row(s) with optional selection column, groups, and sortable headers.
DataTableHeaderCell
Single header cell with sort indicator, menu, resize handle, and pin styles.
DataTableOverlays
Loading, empty, and no-results overlay slots.
DataTablePaginationBar
Pagination control wrapper (1-indexed UI, 0-indexed internal page / offset).
DataTablePreview
DataTableProvider
Required Props
DataTableQuickSearch
Quick search bound to table filter state (client and server sources).
DataTableRoot
Internal shell: provider, state, processed rows memo, density class.
DataTableTableStateProvider
Provides DataTableTableState to custom toolbar/footer slot children.
DataTableToolbar
Toolbar shell for quick search, filter panel, column picker, and export.
cell_in_range
Whether a cell lies inside a normalized range.
column_drag_ghost_at_pointer
create_column_layout_memo
Build a column layout memo from reactive table state inputs.
data_table_cell_view
Back-compat alias for call sites that still invoke the cell renderer as a function.
derive_schema_hints
Derive suggested chart field keys from visible table columns.
move_column_drag_ghost
move_row_drag_ghost
provide_chart_binding
Provide ChartBinding to descendants (chart slots, dashboard panels).
range_edge_classes
CSS edge classes for range border rendering.
resolve_row_id
Resolve a stable row id using an optional custom resolver.
resolve_tree_path
Resolve tree path using optional callback.
row_drag_ghost_at_pointer
tree_path_key
Build a stable path key from segments.
use_chart_binding
Read the nearest ChartBinding when [DataTableFeatures::CHARTS_INTEGRATION] is enabled.
use_data_table_context
Read shared context from the nearest crate::DataTable.
use_data_table_table_state
Reactive table state for custom toolbar/footer slot content.

Type Aliases§

AggregationSignal
Signal-backed aggregation model.
GetRowId
Optional custom row id resolver (default: DataRecord::id).
GetTreePath
Resolve hierarchical path segments for a row (root → leaf).
GroupAggregates
Inline aggregate values keyed by field (for group header rows).
PageFetcher
Async fetcher for server-driven paging.
PivotSignal
Signal-backed pivot model.
RowDetailView
Custom row detail panel body (ROW_DETAIL).
RowGroupingSignal
Signal-backed grouping model for reactive tables.