Data grid / foldkit-mixins-data-grid

foldkit-mixins-data-grid

Draws a foldkit-data-grid grid as an accessible, virtualized WAI-ARIA grid. Only the rows and columns the viewport shows reach the DOM; every drawn cell still says its place among all of them, the keyboard moves focus, and every element is a Slot to style.

Status: experimental, 0.1.0, on npm from the 0.15.0 release. The grid drawn, its header, selection, editing, status and clipboard. examples/data-grid draws 100,000 rows with it.

Who owns what

This package draws and holds nothing. The grid's state is the DataGrid Bundle from foldkit-data-grid, placed in the application's Model; the rows are the application's. The view reads both and sends the grid's own Messages through the placement's wrapper.

FactOwner
the rows, their orderthe application
the focused cell, the scroll offsets and sizeDataGrid, in the Model
which cells to draw, and their ARIAthis view, worked out each render