Documentation Center

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.
ChangeTableRowCommandThis 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.
MergeTableCellLeftCommandA 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.
InsertTableRowAfterCommandInsert a row below command.
MoveTableRowUpCommand Move a row up command.
MoveTableRowDownCommand Move a row down command.
Column commands
InsertTableColumnBeforeCommandInsert a column left command.
InsertTableColumnAfterCommand Insert a column right command.
MoveTableColumnLeftCommand Move a column left command.
MoveTableColumnRightCommandMove a column right command
Delete commands
DeleteTableRowCommandDelete a row command.
DeleteTableColumnCommand Delete a column command