mates-grid docs

mates-grid

Selection

Multiple row selection, shift ranges, and cell ranges when cellSelection is on. Selected ids live on grid.selectedIds. There is no built-in checkbox column — render your own via cellRenderer if you need one.

Rows and cell ranges

Click a row to select. Shift-click a range. Drag across cells when cellSelection is enabled. Ctrl/Cmd+C copies TSV.

selected 0 · ids —

gridAtom({
  columns,
  data: people,
  rowSelection: "multiple",
  cellSelection: true,
  getRowId: (row) => String(row.id),
});