Versions Compared

Key

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

...

Parameter name

Type

Required

Description

sheetName

string

Yes

The worksheet name. The worksheet should exist in the template file, otherwise an exception will be thrown.

headersstring []YesThis parameter controls the names of the column headers for the data written in the Excel sheet. If empty, the first line already found in the current sheet will be left unmodified.
columnTypesnumber []Yes

This parameter controls the types of each column for the data written in the Excel sheet. If empty, all columns will be written as text.

The encodings are as follows:

  • 0: text value
  • 1: numeric value
headerRowsNonumberNoThe number of rows of the already defined header

Return type:

The returned value has no meaning.

...