Type alias XlsxOpenOptions

XlsxOpenOptions: {
    showHiddenSheets?: boolean;
    showHiddenRows?: boolean;
    showHiddenColumns?: boolean;
    showFilters?: boolean;
    keepRowGroups?: boolean;
    keepColumnGroups?: boolean;
    password?: string;
}

Options to open the XLSX file.

Type declaration

  • Optional showHiddenSheets?: boolean

    Optional. Whether to show the hidden and very hidden sheets in XLSX file. The default value is false.

    Example

    viewer.openFile('Documents/HelloWorld.xlsx', FileType.XLSX, {showHiddenSheets: true});
    
  • Optional showHiddenRows?: boolean

    Optional. Whether to show the hidden rows in XLSX file. The default value is false.

    Example

    viewer.openFile('Documents/HelloWorld.xlsx', FileType.XLSX, {showHiddenRows: true});
    
  • Optional showHiddenColumns?: boolean

    Optional. Whether to show the hidden columns in XLSX file. The default value is false.

    Example

    viewer.openFile('Documents/HelloWorld.xlsx', FileType.XLSX, {showHiddenColumns: true});
    
  • Optional showFilters?: boolean

    Optional. Whether to show the filters in XLSX file. The default value is true.

    Example

    viewer.openFile('Documents/HelloWorld.xlsx', FileType.XLSX, {showFilters: false});
    
  • Optional keepRowGroups?: boolean

    Optional. Whether to show the row groups when loading a XLSX file. The default value is true.

    Example

    viewer.openFile('Documents/HelloWorld.xlsx', FileType.XLSX, {keepRowGroups: false});
    
  • Optional keepColumnGroups?: boolean

    Optional. Whether to show the column groups when loading a XLSX file. The default value is true.

    Example

    viewer.openFile('Documents/HelloWorld.xlsx', FileType.XLSX, {keepColumnGroups: false});
    
  • Optional password?: string

    Optional. For decrypting password-protected XLSX file.

    Example

    viewer.openFile('Documents/HelloWorld.xlsx', FileType.XLSX, {password: "123"});