BeforeOpenEventArgs

16 Dec 20251 minute to read

BeforeOpenEventArgs

Properties

cancel boolean

Defines the cancel option.

file FileList|string|File

Defines the file.

parseOptions WorkbookParseOptions

Defines the parsing options that control how the Excel file is loaded.

password string

Defines the password.

requestData object

Defines the request data.

requestType string

Specifies the type of open request that triggered the beforeOpen event.
The possible values are:

  • ‘initial’ - Default open fetch request.
  • ‘chunk’ - A follow-up request to fetch a workbook chunk. Occurs only when chunking
    is enabled by the app, and the server returns a chunk plan from the initial request.
  • ‘thresholdLimitConfirmed’ - A request sent after the user confirms a threshold warning
    (e.g., maximumDataLimit or maximumFileSizeLimit) and chooses to continue.