RevGrid - v0.9.3
    Preparing search index...

    Class RevStandardInputElementCellEditor<BGS, BCS, SF>Abstract

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    cellClosedEventer: CellClosedEventer

    Editor can optionally use this eventer to notify Grid that it has completed

    keyDownEventer: KeyDownEventer

    Accessors

    • get readonly(): boolean

      Indicates if editor can only display data

      Returns boolean

    • set readonly(value: boolean): void

      Indicates if editor can only display data

      Parameters

      • value: boolean

      Returns void

    Methods

    • Close the editor - returns data that was in editor or undefined if cancel specified

      Parameters

      • field: SF
      • subgridRowIndex: number
      • cancel: boolean

      Returns void

    • See if the editor wants the key down event. If fromEditor is true, then this editor generated the event in the first place

      Parameters

      • event: KeyboardEvent
      • fromEditor: boolean
      • _schemaColumn: SF
      • _subgridRowIndex: number

      Returns boolean

    • Returns void

    • Parameters

      • value: boolean

      Returns void

    • Provide the initial data to the editor. This is done after all events have been subscribed to - so editor can start running

      Parameters

      • viewCell: RevViewCell<BCS, SF>
      • openingKeyDownEvent: undefined | KeyboardEvent
      • openingClickEvent: undefined | MouseEvent

      Returns boolean