Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

선택된 셀의 수식을 설정합니다Set formula of the cell in which the caret is positioned.


Parameters:

NameTypeDescription
actionNameString액션 이름'setFormula' cell formula setting API
formulaTextString

수식Formula


Example:

Code Block
languagejs
themeEmacs
// 합계
editor.execCommand('setFormula', 'SUM(A1:B3)');

// 평균
editor.execCommand('setFormula', 'AVERAGE(A1:B3)');

...