Commit 56e38ba
authored
improvement(tree): Expand table node API to expand insert/remove options (microsoft#24538)
Adds the following methods / overloads to `ITable`:
- `insertRow` (previously there was only `insertRows`)
- `removeRow` (previously there was only `removeRows` and
`removeAllRows`)
- `insertColumns` (previously there was only `insertColumn`)
- `removeColumns` and `removeAllColumns` (previously there was only
`removeColumn`
Updates cell-related methods to allow specifying either column/row nodes
or IDs (previously, some APIs took only one, some took only the other).
This includes:
- `getCell`
- `insertCell`
- `removeCell`
Also updates `remove` methods to return the elements removed.1 parent bf18a2a commit 56e38ba
File tree
2 files changed
+726
-124
lines changed- packages/dds/tree/src
- test
2 files changed
+726
-124
lines changed
0 commit comments