Kanban board over the same $state

First-class board mode: Kanban board. Live in demo 343-kanban-board.

Open the live example: Kanban board mode (Kanban)

When

You want a Kanban board backed by the same rows your grid already shows - one source of truth, switchable between a table and a board.

How

Set the board prop. The grid buckets rows into lanes by a field and renders each row as a card; dragging a card between lanes fires onCardMove where you reassign that field on your own data.

<SvGrid {data} {columns}
  getRowId={(r) => String(r.id)}
  board={{
    groupBy: 'status',
    lanes: [
      { id: 'backlog',     title: 'Backlog' },
      { id: 'in_progress', title: 'In progress', wipLimit: 3 },
      { id: 'done',        title: 'Done' },
    ],
    onCardMove: (e) => { /* reassign e.row[status] = e.toLane on your data */ },
    card: taskCard,
  }} />

Key API surface:

See the full walkthrough on the Kanban board page.

See also

Related articles