Insert column to the table in which the caret or selection is positioned at the index position received as a parameter.
Parameters:
Name | Type | Description |
---|---|---|
actionName | String | 'insertCol' column inserting API |
index | Number | Inserting position |
Example:
editor.execCommand('insertCol', 1); editor.execCommand('insertCol', 5);