SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Interface SelectOptions

    Extends SelectionOptions to include the option to adjust the anchor cell.

    interface SelectOptions {
        anchor?: boolean | Partial<CellCoords>;
        autoFocus?: boolean;
        preserveSelectedSheet?: boolean;
        scrollIntoView?: boolean | ScrollIntoViewOptions;
    }

    Hierarchy (View Summary)

    Index
    anchor?: boolean | Partial<CellCoords>

    If true then the anchor cell will be adjusted to the top-left cell of the range.

    false
    

    If the current anchor is not within the current range this will be forced to true.

    autoFocus?: boolean

    If true, the selected element will automatically receive focus after being selected.

    • If false (or omitted), the element will not automatically receive focus.
    false
    
    preserveSelectedSheet?: boolean

    If true, the currently selected sheet will not change as part of the selection. By default, selecting a range will also select its parent sheet, matching Excel behavior.

    false
    
    scrollIntoView?: boolean | ScrollIntoViewOptions

    If true or if a valid ScrollIntoViewOptions object is provided, the selected element will be scrolled into view.

    • If a ScrollIntoViewOptions object is provided, it will control the exact scrolling behavior.
    • If false (or omitted), the selected element will not be scrolled into view.
    false