Interface DataEditorRef

Hierarchy

  • DataEditorRef

Properties

appendRow: ((col: number) => Promise<void>)

Type declaration

    • (col: number): Promise<void>
    • Programatically appends a row.

      Returns

      A promise which waits for the append to complete.

      Parameters

      • col: number

        The column index to focus in the new row.

      Returns Promise<void>

emit: ((eventName: EmitEvents) => Promise<void>)

Type declaration

    • (eventName: EmitEvents): Promise<void>
    • Generic API for emitting events as if they had been triggered via user interaction.

      Parameters

      • eventName: EmitEvents

      Returns Promise<void>

focus: (() => void)

Type declaration

    • (): void
    • Triggers the data grid to focus itself or the correct accessibility element.

      Returns void

getBounds: ((col: number, row?: number) => undefined | Rectangle)

Type declaration

    • (col: number, row?: number): undefined | Rectangle
    • Gets the screen space bounds of the requested item.

      Parameters

      • col: number
      • Optional row: number

      Returns undefined | Rectangle

scrollTo: ScrollToFn

Scrolls to the desired cell or location in the grid.

updateCells: ((cells: DamageUpdateList) => void)

Type declaration

    • (cells: DamageUpdateList): void
    • Triggers cells to redraw.

      Parameters

      • cells: DamageUpdateList

      Returns void

Generated using TypeDoc