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 Options Defined By
  alignment : String
The position to align to (see Ext.Element.alignTo for more details, defaults to "c-c?").
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 false)
Editor
  completeOnEnter : Boolean
True to complete the edit when the enter key is pressed (defaults to false)
Editor
  constrain : Boolean
True to constrain the editor to the viewport
Editor
  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
  hidden : Boolean
Render this component hidden (default is false).
Component
  hideEl : Boolean
False to keep the bound element visible while the editor is displayed (defaults to true)
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

Property Defined 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

Method Defined By

Public Events

Event Defined By