선택된 셀의 수식을 설정합니다.
Parameters:
| Name | Type | Description |
|---|---|---|
| actionName | String | 액션 이름 |
| formulaText | String | 수식 |
Example:
// 합계
editor.execCommand('setFormula', 'SUM(A1:B3)');
// 평균
editor.execCommand('setFormula', 'AVERAGE(A1:B3)');
선택된 셀의 수식을 설정합니다.
Parameters:
| Name | Type | Description |
|---|---|---|
| actionName | String | 액션 이름 |
| formulaText | String | 수식 |
Example:
// 합계
editor.execCommand('setFormula', 'SUM(A1:B3)');
// 평균
editor.execCommand('setFormula', 'AVERAGE(A1:B3)');