Sheet
Sheet of the xlsx file.
import { File } from 'better-xlsx';
const file = new File();
const sheet = file.addSheet('Sheet-1');
const row = sheet.addRow();
const cell = row.addCell();
Method Summary
| Public Methods | ||
| public |
Create a Row and add it into the Sheet. |
|
| public |
Get Cell of the sheet with |
|
| public |
Get Col of the sheet with index and create cols when |
|
| public |
Get Row of the sheet with index and create rows when |
|
| public |
setColWidth(startcol: Number, endcol: Number, width: Number) Set columns width from |
|
Public Methods
public cell(row: Number, col: Number): Cell source
Get Cell of the sheet with (row, col) and create cell when out of range.
public col(idx: Number): Col source
Get Col of the sheet with index and create cols when index > maxCol.
Params:
| Name | Type | Attribute | Description |
| idx | Number | Index of the Col [from 0]. |
