JavaScript API: addCell

addCell

PREMIUM TRIAL / ADVANCED

Adds cell.

Note

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

Description
addCell (content: OptionsCellContents, position: string, cellStyles: OptionsCellStyles = {}, options: OptionsCell = {}): this
Code samples

Example #1

The resulting XLSX spreadsheet looks like:

Release notes
  • phpxlsx 5.0:
    • new method.