LoadSpreadsheetOptions
LoadSpreadsheetOptions:
{}Options for DocAuthSystem.loadSpreadsheet.
Experimental: the spreadsheet API may change or be removed in any release, including minor and patch releases.
Carries the same progress and cancellation as ImportSpreadsheetConfig: a saved spreadsheet of a
million rows takes as long to open as the .xlsx it came from, so a host needs to report it either way.
Example
Section titled “Example”// Reopening a million-row spreadsheet is as slow as importing one, so report it the same way, phase by phaseconst spreadsheet = await system.loadSpreadsheet(saved, {});Properties
Section titled “Properties”abortSignal?
Section titled “abortSignal?”
readonlyoptionalabortSignal:AbortSignal
Aborts the load. A cancelled load rejects; it never resolves with a partly-read spreadsheet.
onProgress()?
Section titled “onProgress()?”
readonlyoptionalonProgress: (progress) =>void
Called while the spreadsheet opens, at most about ten times a second.