Set formula of the cell in which the caret is positioned.
Parameters:
| Name | Type | Description |
|---|---|---|
| actionName | String | 'setFormula' cell formula setting API |
| formulaText | String | Formula |
Example:
// 합계
editor.execCommand('setFormula', 'SUM(A1:B3)');
// 평균
editor.execCommand('setFormula', 'AVERAGE(A1:B3)');