SheetXL - v0.3.20
    Preparing search index...

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

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

    Hierarchy (View Summary)

    Index

    Properties

    anchor?: boolean | Partial<IRange.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
    
    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