Type alias CellEditorAttributes

CellEditorAttributes: {
    getLineHeight: (() => number);
    autoFocus(selector?): void;
    cancelEdit(): void;
    startEdit?(event): void;
    submitEdit(): void;
}

Type declaration

  • getLineHeight: (() => number)
      • (): number
      • Returns number

  • autoFocus:function
    • This will be called if the StartEditEvent event has autoFocus set.

      Parameters

      • Optional selector: string

        A selector string (or empty means 'default' focus)

      Returns void

  • cancelEdit:function
    • Returns void

  • startEdit?:function
    • When editor is loaded, this will be called. Note this should not use the autoFocus property. here If this is set the editor focus will be called as appropriate.

      Parameters

      Returns void

  • submitEdit:function
    • Returns void