JavaScript API: addFunction

addFunction

PREMIUM TRIAL / ADVANCED

Adds function.

Note

You are reading the JavaScript API documentation. For the PHP API method please go to addFunction.

Description
addFunction (func: string, position: string, contentStyles: OptionsCellContents = {}, cellStyles: OptionsCellStyles = {}, options: OptionsCell = {}): this
Code samples

Example #1

The resulting XLSX spreadsheet looks like:

Release notes
  • phpxlsx 5.0:
    • new method.