XlsxImportOptions Interface
Input limits and projection choices used while validating and reading an XLSX package.
Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.
Type-only declaration; it is not a JavaScript runtime constructor.
Members
Properties
| Property | Description |
|---|---|
| autoExpand | Sparse projection: counts are extents rather than a rectangular cell budget. maxEditableCells limits stored cells. |
| inflateRaw | Optional platform DEFLATE implementation for runtimes without DecompressionStream. |
| maxColumns | The maxColumns value of XlsxImportOptions. |
| maxEditableCells | The maxEditableCells value of XlsxImportOptions. |
| maxEntries | The maxEntries value of XlsxImportOptions. |
| maxExpandedBytes | The maxExpandedBytes value of XlsxImportOptions. |
| maxFileBytes | The maxFileBytes value of XlsxImportOptions. |
| maxPartBytes | The maxPartBytes value of XlsxImportOptions. |
| maxRows | Editable projection; data outside it stays in the original package. Defaults match the control. |
| minColumns | The minColumns value of XlsxImportOptions. |
| minRows | The minRows value of XlsxImportOptions. |
| signal | Optional cancellation; hosts check this before replacing a live workbook. |
Examples
Configure XlsxImportOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.
import type { XlsxImportOptions } from '@txtextcontrol/tx-sheet-control';
const xlsxImportSettings: XlsxImportOptions = { signal: new AbortController().signal };