RevGrid - v0.9.3
    Preparing search index...

    Class RevStandardElementCellEditor<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

    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

      • _schemaColumn: SF
      • _subgridRowIndex: number
      • _cancel: boolean

      Returns void

    • 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
      • field: SF
      • subgridRowIndex: number

      Returns boolean

    • 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