XLSX.utils.sheet_add_aoa is a function in the XLSX.utils module of the XLSX.js library. It's used to add an array of arrays (AOA) data to a worksheet in an Excel file.

The function's syntax is:

XLSX.utils.sheet_add_aoa(sheet, data, options)

  • sheet: The worksheet object where the data will be added.
  • data: An array of arrays representing the data to be added. Each inner array represents a row in the worksheet.
  • options: (optional) An object containing additional options for adding the data.

The function adds the AOA data to the worksheet, starting from the worksheet's current position.

XLSX.utils.sheet_add_aoa: Add Array of Arrays to Excel Worksheet

原文地址: https://www.cveoy.top/t/topic/mMTY 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录