The constructor function is established to open an existed excel file.
Even you want to create new excel file, you must create it from a template file.
var excelHSSF = new Excel("small.xls");
var excelXSSF = new Excel("small.xlsx");
var excelSXSSF = new Excel("large.xlsx" , true);
Calling | Returning |
new Excel ( path ) | Excel |
new Excel ( path , isLarge ) | Excel |
Parameters | Type | Description |
path | String | The excel file path relatived to the storage folder. |
isLarge | Boolean | If the value is true, the excel file can be operated with very large data. Please pay attention to the details about SXSSF. |