Properties Methods Events Config Options Direct Link
Observable
  Component
    Editor
      TreeEditor

Class Ext.tree.TreeEditor

Package:Ext.tree
Defined In:TreeEditor.js
Class:TreeEditor
Extends:Editor
Provides editor functionality for inline tree node editing. Any valid Ext.form.Field subclass can be used as the editor field.

Config Options

Config OptionsDefined By
 alignment : String
The position to align to (see Ext.Element.alignTo for more details, defaults to "l-l").
TreeEditor
 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
 cls : String
CSS class to apply to the editor (defaults to "x-small-editor x-tree-editor")
TreeEditor
 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
True to hide the bound element while the editor is displayed (defaults to false)
TreeEditor
 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
 shim : Boolean
True to shim the editor if selects/iframes could be displayed beneath it (defaults to false)
TreeEditor
 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
 editNode : Ext.tree.TreeNode
The TreeNode this editor is bound to. Read-only.
TreeEditor
 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