RevGrid - v0.9.3
    Preparing search index...

    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

    • An empty implementation of a cell renderer, see the null object pattern.

      Parameters

      Returns undefined | number

      Preferred pixel width of content. The content may or may not be rendered at that width depending on whether or not config.bounds was respected and whether or not the grid renderer is using clipping. (Clipping is generally not used due to poor performance.)

    • Parameters

      Returns boolean

    • 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

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

      Returns boolean