Type returned via ref property

interface SheetElement {
    colHeaderWidth: (() => number);
    elementColHeader: (() => SheetHeadersElement);
    elementGrid: (() => GridElement);
    elementRowHeader: (() => SheetHeadersElement);
    getModel: (() => ISheetModel);
    invalidate: ((coords?) => void);
    isEditing: boolean;
    isSheet: (() => true);
    rowHeaderHeight: (() => number);
    cancelEdit(): void;
    focusDrawing(drawing?): boolean;
    focusSheet(options?): void;
    navigate(direction, select?, contentFul?, incrementAmount?): void;
    navigateSelection(direction): void;
    startEdit(event?): void;
    submitEdit(): void;
}

Hierarchy (view full)

Properties

colHeaderWidth: (() => number)

Type declaration

    • (): number
    • Returns number

elementColHeader: (() => SheetHeadersElement)

Type declaration

    • (): SheetHeadersElement
    • Returns SheetHeadersElement

elementGrid: (() => GridElement)

Type declaration

elementRowHeader: (() => SheetHeadersElement)

Type declaration

    • (): SheetHeadersElement
    • Returns SheetHeadersElement

getModel: (() => ISheetModel)

Type declaration

invalidate: ((coords?) => void)

Type declaration

    • (coords?): void
    • Parameters

      Returns void

isEditing: boolean
isSheet: (() => true)

For runtime introspection

Type declaration

    • (): true
    • Returns true

rowHeaderHeight: (() => number)

Type declaration

    • (): number
    • Returns number

Methods

  • Returns void

  • Focus a specific drawing. If not provided will focus the first selected drawing.

    Parameters

    Returns boolean

    Remarks

    The focusDrawing does not scroll. TODO - have this honor focus scroll options.

  • Focus the sheet

    Parameters

    • Optional options: FocusOptions

    Returns void

  • Parameters

    • direction: CartesianDirection
    • Optional select: boolean
    • Optional contentFul: boolean
    • Optional incrementAmount: number

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Returns void