Clear Up
SharpKit Reference

EditorConfig Class

Namespace: Ext


Name Description


Name Description
alignment The position to align to (see Ext.Element.alignTo for more details). Defaults to: "c-c?"
allowBlur True to complete the editing process if in edit mode when the field is blurred. Defaults to: true
autoSize True for the editor to automatically adopt the size of the underlying field. Otherwise, an object can be passed to indicate where to get each dimension. The available properties are 'boundEl' and 'field'. If a dimension is not specified, it will use the underlying height/width specified on the editor object. Examples:
autoSize: true // The editor will be sized to the height/width of the field
            height: 21,
            autoSize: {
            width: 'boundEl' // The width will be determined by the width of the boundEl, the height from the editor (21)
            autoSize: {
            width: 'field', // Width from the field
            height: 'boundEl' // Height from the boundEl
cancelOnEsc True to cancel the edit when the escape key is pressed. Defaults to: true
completeOnEnter True to complete the edit when the enter key is pressed. Defaults to: true
constrain True to constrain the editor to the viewport Defaults to: false
field The Field object (or descendant) or config object for field
hideEl False to keep the bound element visible while the editor is displayed Defaults to: true
ignoreNoChange True to skip the edit completion process (no save, no events fired) if the user completes an edit and the value has not changed. Applies only to string values - edits for other data types will never be ignored. Defaults to: false
offsets The offsets to use when aligning (see Ext.Element.alignTo for more details. Defaults to: [0, 0]
parentEl An element to render to. Defaults to: document.body
revertInvalid True to automatically revert the field value and cancel the edit when the user completes an edit and the field validation fails Defaults to: true
swallowKeys Handle the keydown/keypress events so they don't propagate Defaults to: true
updateEl True to update the innerHTML of the bound element when the update completes Defaults to: false
value The data value of the underlying field Defaults to: ""
© Copyright 2005-2011 SharpKit. All rights reserved.