SplitTableCellsCommand.execute(rowCount, columnCount, mergeBeforeSplit) Method
Executes the SplitTableCellsCommand command with the specified parameters.
Declaration
execute(
rowCount: number,
columnCount: number,
mergeBeforeSplit: boolean
): boolean
Parameters
Name | Type | Description |
---|---|---|
rowCount | number | The number of rows in the split table cells. |
columnCount | number | The number of columns in the split table cells. |
mergeBeforeSplit | boolean |
|
Returns
Type | Description |
---|---|
boolean |
|
Remarks
Usage example:
richEdit.commands.splitTableCells.execute(5, 3, true);
The command split table cells only if the selection contains only a target range forming a rectangle without any unselected table cells.
If the selected range includes more than one table row, the command ignores the value of the rowCount parameter and split the selected table cells only into columns.
See Also