Skip to main content

Module grid

Module grid 

Source
Expand description

A spreadsheet-like data grid from grid.css: sticky headers, one tab stop, rectangular selection, and in-cell editing, on upstream’s fc-grid cell and range model.

It is the UI element, not a spreadsheet: no formulas. Cells are controlled, so an edit is reported through onedit and shows once the caller stores it.

Re-exports§

pub use DataGrid_completions::Component::DataGrid;

Structs§

DataGridProps
Properties for the DataGrid component.
GridCell
One cell’s value and state.
GridColumn
One column’s header.
GridEdit
An edit the user committed.

Functions§

DataGrid
The data grid. Arrows move, Shift extends the selection, Home and End go to the row ends (with Ctrl, the grid’s corners), Page Up and Page Down move ten rows, Ctrl+Space selects the row, and Enter or F2 edits. Tab leaves the grid.