Properties Methods Events Config Options Direct Link
Observable
  Component
    Editor

Class Ext.Editor

Package:Ext
Defined In:Editor.js
Class:Editor
Subclasses:TreeEditor
Extends:Component
A base editor field that handles displaying/hiding on demand and has some built-in sizing and event handling logic.

Config Options

Config OptionsDefined By
 alignment : String
The position to align to (see Ext.Element.alignTo for more details, defaults to "c-c?").
Editor
 allowBlur : Boolean
True to complete the editing process if in edit mode when the field is blurred. Defaults to true.
Editor
 allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
 cancelOnEsc : Boolean
True to cancel the edit when the escape key is pressed. Defaults to true.
Editor
 completeOnEnter : Boolean
True to complete the edit when the enter key is pressed. Defaults to true.
Editor
 constrain : Boolean
True to constrain the editor to the viewport
Editor
 data : Mixed
The initial set of data to apply to the tpl to update the content area of the Component.
Component
 disabled : Boolean
Render this component disabled (default is false).
Component
 disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
 field : Ext.form.Field
The Field object (or descendant) or config object for field
Editor
 hidden : Boolean
Render this component hidden (default is false). If true, the hide method will be called internally.
Component
 hideEl : Boolean
False to keep the bound element visible while the editor is displayed (defaults to true)
Editor
 offsets : Array
The offsets to use when aligning (see Ext.Element.alignTo for more details. Defaults to [0, 0].
Editor
 shadow : Boolean/String
"sides" for sides/bottom only, "frame" for 4-way shadow, and "drop" for bottom-right shadow (defaults to "frame")
Editor
 swallowKeys : Boolean
Handle the keydown/keypress events so they don't propagate (defaults to true)
Editor
 updateEl : Boolean
True to update the innerHTML of the bound element when the update completes (defaults to false)
Editor
 value : Mixed
The data value of the underlying field (defaults to "")
Editor

Public Properties

PropertyDefined By
 disabled : Boolean
True if this component is disabled. Read-only.
Component
 hidden : Boolean
True if this component is hidden. Read-only.
Component
 initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
 rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

MethodDefined By

Public Events

EventDefined By