Skip to content
CdsTable

Editing

Editing data right in the table: individual cells, a per-row mode with save and cancel, or editing the whole table at once.

Storybook GitLab Figma
Test coverage: 0% — low coverage
API in specs
0 / 72 props, events, slots and exposed members with a test
Test cases
13 unit · 0 browser
Code coverage
15.2% lines · 7.4% branches measured in v4.0.0-alpha.13
A11y (axe)
50 recommendations in 39 stories measured in v4.0.0-alpha.11

Editable cells ​

The bodyCell slot replaces the content of a cell: on click the value turns into an input, on confirmation it turns back into text.

Editable rows ​

The whole row switches into edit mode: inputs in every cell, the "Save" and "Cancel" buttons in the actions column.

Editable table ​

Edit mode is turned on for the entire table at once — convenient for filling in reference data in bulk.