Divide the cell in which the caret is positioned according to the number of rows and columns received as a parameter.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'splitCell' cell spliting API |
row | Number | Number of rows |
col | Number | Number of columns |
Example:
editor.execCommand('splitCell', 2, 2);