선택된 셀의 수식을 설정합니다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:
Code Block | ||||
---|---|---|---|---|
| ||||
// 합계 editor.execCommand('setFormula', 'SUM(A1:B3)'); // 평균 editor.execCommand('setFormula', 'AVERAGE(A1:B3)'); |
...