SheetXL - v0.3.20
    Preparing search index...

    Interface IWorkbookView

    View settings for a single workbook.

    interface IWorkbookView {
        addListeners(listeners: IListeners, options?: IListener.Options): Remove;
        getActiveSheetId(): number;
        getTabRatio(): number;
        isShowFormulaBar(): boolean;
        isShowHorizontalScrollbar(): boolean;
        isShowStatusBar(): boolean;
        isShowTabs(): boolean;
        isShowVerticalScrollbar(): boolean;
        setActiveSheetId(newValue: number): this;
        setShowFormulaBar(newValue: boolean): this;
        setShowHorizontalScrollbar(newValue: boolean): this;
        setShowStatusBar(newValue: boolean): this;
        setShowTabs(newValue: boolean): this;
        setShowVerticalScrollbar(newValue: boolean): this;
        setTabRatio(newValue: number): this;
        toJSON(): JSON;
    }

    Implemented by

    Index

    Methods

    • Add Listeners.

      Parameters

      Returns Remove

      IListener.ISource.addListeners

    • The id of of the activeSheet.

      Parameters

      • newValue: number

      Returns this

      This is NOT the index of the sheet but instead the id (1 based) If the sheets have been reordered then these won't match.

    • Shows the visibility of the formula bar.

      Parameters

      • newValue: boolean

      Returns this

    • show the horizontal scrollbar.

      Parameters

      • newValue: boolean

      Returns this

      true
      
    • Show the status bar.

      Parameters

      • newValue: boolean

      Returns this

      true
      
    • Shows the workbook tabs.

      Parameters

      • newValue: boolean

      Returns this

      true;
      
    • Show the vertical scrollbar.

      Parameters

      • newValue: boolean

      Returns this

      true
      
    • Specifies ratio between the workbook tabs and the horizontal scroll bar.

      Parameters

      • newValue: number

      Returns this

      600
      

      This is expressed as a percent * 1000.

    • Saves the current state to JSON.

      Returns JSON