Expand description
An enterprise-style data grid: DataGrid over GridData with
GridColumns. The query pipeline in query is pure and usable on its own.
Re-exports§
pub use query::GridExportFormat;pub use query::GridQuery;pub use query::GridTable;pub use query::GridTableColumn;pub use query::GridTableKind;pub use query::QueryResult;pub use query::ViewRow;pub use query::to_table;pub use query::to_tsv;
Modules§
- query
- The data grid query engine: filter → search → sort → group → summarize. Pure functions over rows, independent of the UI.
Structs§
- Cell
Edit - A change someone made in a cell, before it is kept.
- Column
Layout - One column’s place in a
GridLayout. - Data
Grid - A virtualized data grid in the spirit of enterprise grids: sorting by one or
several columns, a filter row with operators and filters by value, a search panel,
grouping by dragging columns to the group panel, group summaries, footer totals,
columns to resize, reorder, pin and hide, a menu on each column, single or multiple
selection, keyboard navigation, in-place editing, cell templates, CSV export, pages,
saved scenarios, and rows that stay on a server (
DataGrid::remote). Only the visible rows are built, so 100,000+ rows stay smooth. - Filter
Layout - One column’s filter in a
GridLayout. - Grid
Cell Style - How a cell looks, by what its row holds. Colors come from the theme.
- Grid
Column - A data grid column: title, width, alignment, formatting and capabilities.
- Grid
Data - The rows behind a data grid. Cloning shares the same data; editing replaces the row list copy-on-write, so query caches stay valid until a change.
- Grid
Layout - Everything about how a grid is arranged: its columns in order, sorting, groups, filters and search. Turn it into JSON to keep it.
- Grid
Page - What a
RemoteRowsloader brought. - Grid
Request - What a
RemoteRowsloader must bring. - Grid
Responder - Answers one
GridRequest, now or later. An answer to a question nobody is asking any more, because the filters changed meanwhile, is dropped. - Grid
RowAction - A button at the end of every row, such as Edit or Delete.
- Grid
Scenario - A named
GridLayout, for someone to come back to with one click. - Number
Format - How numbers are written: decimals, affixes and separators.
- Remote
Rows - The rows of a
DataGridon a server. The grid asksloaderfor a chunk at a time, only for what is on the screen, at most two at once, and keeps a limited number of them, so a table of any size costs the same to look at. - Sort
Layout - One sorted column of a
GridLayout. - Summary
Layout - One column’s summary in a
GridLayout.
Enums§
- Cell
Align - Horizontal alignment of a column’s cells.
- Selection
Mode - How rows can be selected.
- Sort
Direction - Order of a sorted column.
- Summary
- An aggregate shown in group rows and in the footer.
- Value
- A cell value.
Type Aliases§
- Cell
Format - Turns a cell value into its display text.
- Cell
Template - Builds a custom view for a cell value.
- Row
- One row: values in column order.