Table editing commands for a ribbon toolbar
The following commands can be used in combination with the command attribute of a button in your custom ribbon toolbar .
| Header cells | |
|---|---|
ChangeTableCellCommand | This command will change regular cells into header cells and back. This button is only useful if both type of cells are allowed in the schema. |
ChangeTableRowCommand | This command will change regular rows into header rows and back. This button is only useful if both type of rows are allowed in the schema. |
ChangeTableColumnCommand | This command will change regular cells in a column into header cells and back. This button is only useful if both type of cells are allowed in the schema. |
| Merging cells | |
MergeTableCellUpCommand | A command to merge a cell up. |
MergeTableCellRightCommand | A command to merge a cell right. |
MergeTableCellDownCommand | A command to merge a cell down. |
MergeTableCellLeftCommand | A command to merge a cell left. |
| Splitting cells | |
SplitTableCellUpCommand | A command to split a cell from the top. |
SplitTableCellRightCommand | A command to split a cell from the right. |
SplitTableCellDownCommand | A command to split a cell from the bottom |
SplitTableCellLeftCommand | A command to split a cell from the left. |
| Row commands | |
InsertTableRowBeforeCommand | Insert a row above command. |
InsertTableRowAfterCommand | Insert a row below command. |
MoveTableRowUpCommand | Move a row up command. |
MoveTableRowDownCommand | Move a row down command. |
| Column commands | |
InsertTableColumnBeforeCommand | Insert a column left command. |
InsertTableColumnAfterCommand | Insert a column right command. |
MoveTableColumnLeftCommand | Move a column left command. |
MoveTableColumnRightCommand | Move a column right command |
| Delete commands | |
DeleteTableRowCommand | Delete a row command. |
DeleteTableColumnCommand | Delete a column command |