Data grid / API
foldkit-mixins-data-grid
foldkit-mixins-data-grid — a foldkit-data-grid grid drawn through slots.
foldkit-data-grid holds the grid's state and geometry and draws nothing.
This package draws the grid as a WAI-ARIA grid: only the rows and columns
the viewport shows, every cell's logical row and column in ARIA, one tab
stop, and the keyboard moving focus. Every element is a Slot, so an
application styles it the way it does any other SlotView; the geometry the
virtual window depends on is protected from attachments.
Functions
GridLegend | A legend of the marks, each beside a swatch drawn by the same rules as the cells (GridMarkStyle styles both), so the two cannot drift apart. |
MoreOnScroll | Sends the grid's onMore as its More button comes within 200px of the grid's visible box, and again after each load while the button stays there; the button… |
Values
DataGridView | |
GridLegendSlots | |
GridLegendStyle | The legend's look, its swatches drawn by the cells' own rules. |
GridMarks | |
GridMarkStyle | The marks on the grid's cells. Attach after GridStyle, whose plain dot it replaces by name. |
GridSlots | |
GridStyle | Every piece is in the components layer, so an application's own layer wins. |
Interfaces
CellMark | A state the application gives one cell, such as an edit not yet saved. The grid draws its name as data-mark on the cell's Slot, for a style, and its… |
ColumnSort | How a column is sorted, and the Message that sorts it next: foldkit-crud's Sort gives these. |
GridInput | What the grid's view reads, and what the application gives it. |
GridLegendInput | |
GridLegendWords | The words for each mark, and the legend's own label. |
GridWords |