The addRow function is established to add rows in a sheet.
var excel = new Excel("test.xlsx"); excel.addRow("mySheet,0); excel.addRow("mySheet,1,10);
Calling | Returning |
---|---|
Excel . addRow ( sheetName , startRow) | Excel |
Excel . addRow ( sheetName , startRow , n) | Excel |
Parameters | Type | Description |
---|---|---|
sheetName | String | The sheet name. |
startRow | Number | The row index where new rows will be added before it. Indexed from 0. |
n | Number | The blank row count to be added. The default value is 1. |