| anchor : StringNote: this config is only used when this Component is rendered
+}); Config Options|
| allowDomMove : Boolean Whether the component can move the Dom node when rendering (defaults to true). | Component | | anchor : StringNote: this config is only used when this Component is rendered
by a Container which has been configured to use an Anc... Note: this config is only used when this Component is rendered
by a Container which has been configured to use an AnchorLayout
based layout manager, for example:
@@ -159,7 +159,9 @@ result in elements needing to be synchronized with the new height. Example:<
}
}
}
-}).show(); | BoxComponent | | autoShow : BooleanTrue if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove
+}).show(); | BoxComponent | | autoScroll : Booleantrue to use overflow:'auto' on the components layout element and show scroll bars automatically when
+necessary, false... true to use overflow:'auto' on the components layout element and show scroll bars automatically when
+necessary, false to clip any overflowing content (defaults to false ).
| BoxComponent | | autoShow : BooleanTrue if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove
them on render... True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove
them on render (defaults to false). | Component | | autoWidth : BooleanTrue to use width:'auto', false to use fixed width (or allow it to be managed by its parent
Container's layout manage... True to use width:'auto', false to use fixed width (or allow it to be managed by its parent
@@ -191,7 +193,15 @@ child items when the browser changes its width: var myPanel = <
}, {
title: 'Box 3'
}],
-});
| BoxComponent | | clearCls : StringThe CSS class used to to apply to the special clearing div rendered
+}); | BoxComponent | | boxMaxHeight : NumberThe maximum value in pixels which this BoxComponent will set its height to.
+Warning: This will override any size mana... The maximum value in pixels which this BoxComponent will set its height to.
+ Warning: This will override any size management applied by layout managers. | BoxComponent | | boxMaxWidth : NumberThe maximum value in pixels which this BoxComponent will set its width to.
+Warning: This will override any size manag... The maximum value in pixels which this BoxComponent will set its width to.
+ Warning: This will override any size management applied by layout managers. | BoxComponent | | boxMinHeight : NumberThe minimum value in pixels which this BoxComponent will set its height to.
+Warning: This will override any size mana... The minimum value in pixels which this BoxComponent will set its height to.
+ Warning: This will override any size management applied by layout managers. | BoxComponent | | boxMinWidth : NumberThe minimum value in pixels which this BoxComponent will set its width to.
+Warning: This will override any size manag... The minimum value in pixels which this BoxComponent will set its width to.
+ Warning: This will override any size management applied by layout managers. | BoxComponent | | clearCls : StringThe CSS class used to to apply to the special clearing div rendered
directly after each form field wrapper to provide... The CSS class used to to apply to the special clearing div rendered
directly after each form field wrapper to provide field clearing (defaults to
'x-form-clear-left').
@@ -201,11 +211,11 @@ manager (e.g. fieldLabel is specified or isFormField=true is specified.
See Ext.layout.FormLayout.fieldTpl also. | Component | | cls : StringAn optional extra CSS class that will be added to this component's Element (defaults to ''). This can be
useful for ... An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be
-useful for adding customized styles to the component or any of its children using standard CSS rules. | Component | | columnResize : Boolean/ObjectSpecify true or specify a configuration object for Ext.ListView.ColumnResizer
-to enable the columns to be resizable ... Specify true or specify a configuration object for Ext.ListView.ColumnResizer
-to enable the columns to be resizable (defaults to true). | ListView | | columnSort : Boolean/ObjectSpecify true or specify a configuration object for Ext.ListView.Sorter
-to enable the columns to be sortable (default... Specify true or specify a configuration object for Ext.ListView.Sorter
-to enable the columns to be sortable (defaults to true). | ListView | | columns : ArrayAn array of column configuration objects, for example:
+useful for adding customized styles to the component or any of its children using standard CSS rules. | Component | | columnResize : Boolean/ObjectSpecify true or specify a configuration object for Ext.list.ListView.ColumnResizer
+to enable the columns to be resiz... | ListView | | columnSort : Boolean/ObjectSpecify true or specify a configuration object for Ext.list.ListView.Sorter
+to enable the columns to be sortable (de... Specify true or specify a configuration object for Ext.list.ListView.Sorter
+to enable the columns to be sortable (defaults to true). | ListView | | columns : ArrayAn array of column configuration objects, for example:
{
align: 'right',
dataIndex: 'size',
@@ -234,7 +244,21 @@ allocated with an equal percentage to fill 100% of the container width. To easi
advantage of the full container width, leave the width of at least one column undefined.
Note that if you do not want to take up the full width of the container, the width of
every column needs to be explicitly defined.
- | ListView | | ctCls : StringAn optional extra CSS class that will be added to this component's container. This can be useful for
+ | ListView | | contentEl : StringOptional. Specify an existing HTML element, or the id of an existing HTML element to use as the content
+for this comp... Optional. Specify an existing HTML element, or the id of an existing HTML element to use as the content
+for this component.
+
+- Description :
+
This config option is used to take an existing HTML element and place it in the layout element
+of a new component (it simply moves the specified DOM element after the Component is rendered to use as the content.
+- Notes :
+
The specified HTML element is appended to the layout element of the component after any configured
+HTML has been inserted, and so the document will not contain this element at the time the render event is fired.
+The specified HTML element used will not participate in any layout
+scheme that the Component may use. It is just HTML. Layouts operate on child items .
+Add either the x-hidden or the x-hide-display CSS class to
+prevent a brief flicker of the content before it is rendered to the panel.
+ | Component | | ctCls : StringAn optional extra CSS class that will be added to this component's container. This can be useful for
adding customize... An optional extra CSS class that will be added to this component's container. This can be useful for
adding customized styles to the container or any of its children using standard CSS rules. See
Ext.layout.ContainerLayout.extraCls also.
@@ -245,7 +269,8 @@ which assigns a value by default:
To configure the above Class with an extra CSS class append to the default. For example,
for BoxLayout (Hbox and Vbox): ctCls: 'x-box-layout-ct custom-class'
- | Component | | deferEmptyText : Boolean True to defer emptyText being applied until the store's first load | DataView | | 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 | | emptyText : String The text to display in the view when there is no data to display (defaults to ''). | DataView | | fieldLabel : StringThe label text to display next to this Component (defaults to '').
+ | Component | | data : MixedThe initial set of data to apply to the tpl to
+update the content area of the Component. | Component | | deferEmptyText : Boolean True to defer emptyText being applied until the store's first load | DataView | | 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 | | emptyText : String The text to display in the view when there is no data to display (defaults to ''). | DataView | | fieldLabel : StringThe label text to display next to this Component (defaults to '').
Note: this config is only used when this Component... The label text to display next to this Component (defaults to '').
Note: this config is only used when this Component is rendered by a Container which
has been configured to use the FormLayout layout manager (e.g.
@@ -262,8 +287,8 @@ Example use: new Ext.FormPanel({
});
| Component | | height : NumberThe height of this component in pixels (defaults to auto).
Note to express this dimension as a percentage or offset s... The height of this component in pixels (defaults to auto).
Note to express this dimension as a percentage or offset see Ext.Component.anchor. | BoxComponent | | hidden : BooleanRender this component hidden (default is false). If true, the
- hide method will be called internally. | Component | | hideHeaders : Boolean | ListView | | hideLabel : Booleantrue to completely hide the label element
+ hide method will be called internally. | Component | | hideHeaders : Boolean | ListView | | hideLabel : Booleantrue to completely hide the label element
(label and separator). Defaults to false.
By default, even if you do not sp... true to completely hide the label element
(label and separator). Defaults to false.
@@ -287,7 +312,11 @@ since items are automatically laid out when they are first shown (no sizing
is done while hidden). | Component | | hideParent : BooleanTrue to hide and show the component's container when hide/show is called on the component, false to hide
and show the... True to hide and show the component's container when hide/show is called on the component, false to hide
and show the component itself (defaults to false). For example, this can be used as a shortcut for a hide
-button on a window by setting hide:true on the button when adding it to its parent container. | Component | | id : StringThe unique id of this component (defaults to an auto-assigned id).
+button on a window by setting hide:true on the button when adding it to its parent container. | Component | | html : String/ObjectAn HTML fragment, or a DomHelper specification to use as the layout element
+content (defaults to ''). The HTML conten... An HTML fragment, or a DomHelper specification to use as the layout element
+content (defaults to ''). The HTML content is added after the component is rendered,
+so the document will not contain this HTML at the time the render event is fired.
+This content is inserted into the body before any configured contentEl is appended. | Component | | id : StringThe unique id of this component (defaults to an auto-assigned id).
You should assign an id if you need to be able to ... The unique id of this component (defaults to an auto-assigned id).
You should assign an id if you need to be able to access the component later and you do
not have an object reference available (e.g., using Ext.getCmp).
@@ -297,7 +326,7 @@ rules to style the specific instance of this component uniquely, and also to sel
sub-elements using this component's id as the parent.
Note: to avoid complications imposed by a unique id also see
itemId and ref .
- Note: to access the container of an item see ownerCt . | Component | | internalTpl : String/ArrayThe template to be used for the header row. See tpl for more details. | ListView | | itemCls : StringNote: this config is only used when this Component is rendered by a Container which
+ Note: to access the container of an item see ownerCt . | Component | | internalTpl : String/ArrayThe template to be used for the header row. See tpl for more details. | ListView | | itemCls : StringNote: this config is only used when this Component is rendered by a Container which
has been configured to use the Fo... Note: this config is only used when this Component is rendered by a Container which
has been configured to use the FormLayout layout manager (e.g.
Ext.form.FormPanel or specifying layout:'form').
@@ -355,7 +384,7 @@ avoiding potential conflicts with getComponent( 'p1'); // not the same as Ext.getCmp()
p2 = p1. ownerCt. getComponent( 'p2'); // reference via a sibling
Also see id and ref .
- Note: to access the container of an item see ownerCt. | Component | | itemSelector : StringDefaults to 'dl' to work with the preconfigured tpl.
+ Note: to access the container of an item see ownerCt. | Component | | itemSelector : StringDefaults to 'dl' to work with the preconfigured tpl.
This setting specifies the CSS selector (e.g. div.some-class or... Defaults to 'dl' to work with the preconfigured tpl.
This setting specifies the CSS selector (e.g. div.some-class or span:first-child)
that will be used to determine what nodes the ListView will be working with. | ListView | | labelSeparator : StringThe separator to display after the text of each
@@ -483,7 +512,7 @@ to the second, and the bottom is set to the third.
Defaults to: {top:0, right:0, bottom:0, left:0}
| BoxComponent | | multiSelect : BooleanTrue to allow selection of more than one item at a time, false to allow selection of only a single item
at a time or ... True to allow selection of more than one item at a time, false to allow selection of only a single item
-at a time or no selection at all, depending on the value of singleSelect (defaults to false). | DataView | | overClass : StringThe CSS class applied when over a row (defaults to
+at a time or no selection at all, depending on the value of singleSelect (defaults to false). | DataView | | overClass : StringThe CSS class applied when over a row (defaults to
'x-list-over'). An example overriding the default styling:
.... The CSS class applied when over a row (defaults to
'x-list-over'). An example overriding the default styling:
@@ -504,9 +533,9 @@ object. The ptype will be looked up at render time up to determine
type of Plugin to create.
If you create your own Plugins, you may register them using
Ext.ComponentMgr.registerPlugin in order to be able to
-take advantage of lazy instantiation and rendering. | Component | | ref : StringA path specification, relative to the Component's ownerCt specifying into which
-ancestor Container to place a named r... A path specification, relative to the Component's ownerCt specifying into which
-ancestor Container to place a named reference to this Component.
+take advantage of lazy instantiation and rendering. | Component | | ref : StringA path specification, relative to the Component's ownerCt
+specifying into which ancestor Container to place a named r... A path specification, relative to the Component's ownerCt
+specifying into which ancestor Container to place a named reference to this Component.
The ancestor axis can be traversed by using '/' characters in the path.
For example, to put a reference to a Toolbar Button into the Panel which owns the Toolbar: var myGrid = new Ext.grid.EditorGridPanel({
title: 'My EditorGridPanel',
@@ -525,9 +554,10 @@ For example, to put a reference to a Toolbar Button into the Panel which owns
}
}
});
- In the code above, if the ref had been 'saveButton' the reference would
-have been placed into the Toolbar. Each '/' in the ref moves up one level from the
-Component's ownerCt. | Component | | region : StringNote: this config is only used when this BoxComponent is rendered
+ In the code above, if the ref had been 'saveButton'
+the reference would have been placed into the Toolbar. Each '/' in the ref
+moves up one level from the Component's ownerCt .
+ Also see the added and removed events. | Component | | region : StringNote: this config is only used when this BoxComponent is rendered
by a Container which has been configured to use the... Note: this config is only used when this BoxComponent is rendered
by a Container which has been configured to use the BorderLayout
layout manager (e.g. specifying layout:'border').
@@ -543,13 +573,13 @@ to render and manage its child items.
When using this config, a call to render() is not required.
-See render also. | Component | | reserveScrollOffset : BooleanBy default will defer accounting for the configured scrollOffset
-for 10 milliseconds. Specify true to account for t... | Component | | reserveScrollOffset : BooleanBy default will defer accounting for the configured scrollOffset
+for 10 milliseconds. Specify true to account for t... By default will defer accounting for the configured scrollOffset
for 10 milliseconds. Specify true to account for the configured
- scrollOffset immediately. | ListView | | scrollOffset : NumberThe amount of space to reserve for the scrollbar (defaults to
+ scrollOffset immediately. | ListView | | scrollOffset : NumberThe amount of space to reserve for the scrollbar (defaults to
undefined). If an explicit value isn't specified, this... The amount of space to reserve for the scrollbar (defaults to
undefined). If an explicit value isn't specified, this will be automatically
-calculated. | ListView | | selectedClass : StringThe CSS class applied to a selected row (defaults to
+calculated. | ListView | | selectedClass : StringThe CSS class applied to a selected row (defaults to
'x-list-selected'). An example overriding the default styling:
... The CSS class applied to a selected row (defaults to
'x-list-selected'). An example overriding the default styling:
.x-list-selected {background-color: yellow;}
| ListView | | simpleSelect : BooleanTrue to enable multiselection by clicking on multiple items without requiring the user to hold Shift or Ctrl,
@@ -632,7 +662,11 @@ A string to be used as innerHTML (html tags are accepted) to show in a tooltip w
the associated tab selector element. Ext.QuickTips.init()
must be called in order for the tips to render. | BoxComponent | | tpl : String/ArrayThe HTML fragment or an array of fragments that will make up the template used by this DataView. This should
be spec... The HTML fragment or an array of fragments that will make up the template used by this DataView. This should
-be specified in the same format expected by the constructor of Ext.XTemplate. | DataView | | trackOver : Boolean True to enable mouseenter and mouseleave events | DataView | | width : NumberThe width of this component in pixels (defaults to auto).
+be specified in the same format expected by the constructor of Ext.XTemplate. | DataView | | tplWriteMode : StringThe Ext.(X)Template method to use when
+updating the content area of the Component. Defaults to 'overwrite'
+(see Ext.X... The Ext.(X)Template method to use when
+updating the content area of the Component. Defaults to 'overwrite'
+(see Ext.XTemplate.overwrite ). | Component | | trackOver : Boolean True to enable mouseenter and mouseleave events | DataView | | width : NumberThe width of this component in pixels (defaults to auto).
Note to express this dimension as a percentage or offset se... The width of this component in pixels (defaults to auto).
Note to express this dimension as a percentage or offset see Ext.Component.anchor. | BoxComponent | | x : Number The local x (left) coordinate for this component if contained within a positioning container. | BoxComponent | | xtype : StringThe registered xtype to create. This config option is not used when passing
a config object into a constructor. This ... The registered xtype to create. This config option is not used when passing
@@ -645,7 +679,7 @@ The predefined xtypes are listed Ext.ComponentMgr.registerType in order to be able to
-take advantage of lazy instantiation and rendering. | Component | | y : Number The local y (top) coordinate for this component if contained within a positioning container. | BoxComponent |
Public Properties|
| disableHeaders : Boolean Set this property to true to disable the header click handler disabling sort
+take advantage of lazy instantiation and rendering. | Component | | y : Number The local y (top) coordinate for this component if contained within a positioning container. | BoxComponent |
Public Properties|
| disableHeaders : Boolean Set this property to true to disable the header click handler disabling sort
(defaults to false). | ListView | | disabled : Boolean True if this component is disabled. Read-only. | Component | | el : Ext.ElementThe Ext.Element which encapsulates this Component. Read-only.
This will usually be a <DIV> element created by the ... The Ext.Element which encapsulates this Component. Read-only.
This will usually be a <DIV> element created by the class's onRender method, but
@@ -666,8 +700,10 @@ config for a suggestion, or use a render listener directly: new
See also getEl
| Component | | hidden : Boolean True if this component is hidden. Read-only. | Component | | initialConfig : Object This Component's initial configuration specification. Read-only. | Component | | ownerCt : Ext.ContainerThis Component's owner Container (defaults to undefined, and is set automatically when
this Component is added to a C... This Component's owner Container (defaults to undefined, and is set automatically when
this Component is added to a Container). Read-only.
- Note: to access items within the Container see itemId. | Component | | rendered : Boolean True if this component has been rendered. Read-only. | Component |
Public Methods|
| ListView( Object config )
- | ListView | | addClass( string cls )
+Note: to access items within the Container see itemId. | Component | | refOwner : Ext.ContainerThe ancestor Container into which the ref reference was inserted if this Component
+is a child of a Container, and has... The ancestor Container into which the ref reference was inserted if this Component
+is a child of a Container, and has been configured with a ref . | Component | | rendered : Boolean True if this component has been rendered. Read-only. | Component |
Public Methods|
| ListView( Object config )
+ | ListView | | addClass( string cls )
:
Ext.ComponentAdds a CSS class to the component's underlying element. Adds a CSS class to the component's underlying element. | Component | | addEvents( Object|String o , string Optional. )
:
@@ -733,14 +769,14 @@ Or a shorthand syntax:
void | DataView | | cloneConfig( Object overrides )
:
Ext.ComponentClone the current component using the original config values passed into this instance by default. Clone the current component using the original config values passed into this instance by default. | Component | | collectData( Array records , Number startIndex )
+An id property can be passed on this object, otherwise one will be generated to avoid duplicates.Returns: | Component | | collectData( Array records , Number startIndex )
:
ObjectFunction which can be overridden which returns the data object passed to this
view's template to render the whole Li... Function which can be overridden which returns the data object passed to this
-view's template to render the whole ListView. The returned object
+view's template to render the whole ListView. The returned object
shall contain the following properties:
-- columns : String
+- columns : String
- rows : String
Parameters:Returns:Object A data object containing properties to be processed by a repeating
@@ -756,7 +792,7 @@ should usually not need to be called directly. Disable this component and fire the 'disable' event. Disable this component and fire the 'disable' event.
| Component | | enable()
:
- Ext.ComponentEnable this component and fire the 'enable' event. Enable this component and fire the 'enable' event. | Component | | enableBubble( Object events )
+ Ext.ComponentEnable this component and fire the 'enable' event. Enable this component and fire the 'enable' event. | Component | | enableBubble( String/Array events )
:
voidEnables events fired by this Observable to bubble up an owner hierarchy by calling
this.getBubbleTarget() if present... Enables events fired by this Observable to bubble up an owner hierarchy by calling
@@ -765,13 +801,13 @@ this.getBubbleTarget() if present... Enables events fi
implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to
access the required target more quickly.
Example: Ext.override(Ext.form.Field, {
-// Add functionality to Field's initComponent to enable the change event to bubble
- initComponent: Ext.form.Field.prototype.initComponent.createSequence(function() {
- this.enableBubble('change');
+ // Add functionality to Field's initComponent to enable the change event to bubble
+ initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {
+ this.enableBubble('change');
}),
-// We know that we want Field's events to bubble directly to the FormPanel.
- getBubbleTarget: function() {
+ // We know that we want Field's events to bubble directly to the FormPanel.
+ getBubbleTarget : function() {
if (!this.formPanel) {
this.formPanel = this.findParentByType('form');
}
@@ -786,11 +822,11 @@ access the required target more quickly.
}],
listeners: {
change: function() {
-// Title goes red if form has been modified.
- myForm.header.setStyle("color", "red");
+ // Title goes red if form has been modified.
+ myForm.header.setStyle('color', 'red');
}
}
-});
| Observable | | findItemFromChild( HTMLElement node )
+}); | Observable | | findItemFromChild( HTMLElement node )
:
HTMLElementReturns the template node the passed child belongs to, or null if it doesn't belong to one. Returns the template node the passed child belongs to, or null if it doesn't belong to one. Parameters:Returns:HTMLElement The template node
| DataView | | findParentBy( Function fn )
:
@@ -853,7 +889,7 @@ id is returned using g... | DataView | | getResizeEl()
:
- voidReturns the outermost Element of this Component which defines the Components overall size.
+ Ext.Element Returns the outermost Element of this Component which defines the Components overall size.
Usually this will return t... Returns the outermost Element of this Component which defines the Components overall size.
Usually this will return the same Element as getEl ,
but in some cases, a Component may have some more wrapping Elements around its main
@@ -861,7 +897,7 @@ active Element.
An example is a ComboBox. It is encased in a wrapping Element which
contains both the <input> Element (which is what would be returned
by its getEl method, and the trigger button Element.
-This Element is returned as the resizeEl . | BoxComponent | | getSelectedIndexes()
+This Element is returned as the resizeEl . | BoxComponent | | getSelectedIndexes()
:
ArrayGets the indexes of the selected nodes. Gets the indexes of the selected nodes. | DataView | | getSelectedNodes()
:
@@ -917,7 +953,26 @@ to participate in determination of inherited xtypes.
var isText = t.isXType('textfield'); // true
var isBoxSubclass = t.isXType('box'); // true, descended from BoxComponent
var isBoxInstance = t.isXType('box', true); // false, not a direct BoxComponent instanceParameters:xtype : StringThe xtype to check for this Component shallow : Boolean(optional) False to check whether this Component is descended from the xtype (this is
-the default), or true to check whether this Component is directly of the specified xtype. Returns: | Component | | nextSibling()
+the default), or true to check whether this Component is directly of the specified xtype.Returns: | Component | | mon( Observable|Element item , Object|String ename , Function fn , Object scope , Object opt )
+ :
+ voidAdds listeners to any Observable object (or Elements) which are automatically removed when this Component
+is destroye... Adds listeners to any Observable object (or Elements) which are automatically removed when this Component
+is destroyed. Usage:
+myGridPanel.mon(myGridPanel.getSelectionModel(), 'selectionchange', handleSelectionChange, null, {buffer: 50});
+
+ or:
+myGridPanel.mon(myGridPanel.getSelectionModel(), {
+ selectionchange: handleSelectionChange,
+ buffer: 50
+});
+
Parameters:item : Observable|ElementThe item to which to add a listener/listeners. ename : Object|StringThe event name, or an object containing event name properties. fn : FunctionOptional. If the ename parameter was an event name, this
+is the handler function. scope : ObjectOptional. If the ename parameter was an event name, this
+is the scope (this reference) in which the handler function is executed. opt : ObjectOptional. If the ename parameter was an event name, this
+is the addListener options. Returns: | Component | | mun( Observable|Element item , Object|String ename , Function fn , Object scope )
+ :
+ voidRemoves listeners that were added by the mon method. Removes listeners that were added by the mon method. Parameters:item : Observable|ElementThe item from which to remove a listener/listeners. ename : Object|StringThe event name, or an object containing event name properties. fn : FunctionOptional. If the ename parameter was an event name, this
+is the handler function. scope : ObjectOptional. If the ename parameter was an event name, this
+is the scope (this reference) in which the handler function is executed. Returns: | Component | | nextSibling()
:
Ext.ComponentReturns the next component in the owning container Returns the next component in the owning container | Component | | on( String eventName , Function handler , [Object scope ], [Object options ] )
:
@@ -976,7 +1031,9 @@ events fired during event suspension will be sent to any listeners now.Selects a set of nodes. Selects a set of nodes. Parameters:nodeInfo : Array/HTMLElement/String/NumberAn HTMLElement template node, index of a template node,
id of a template node or an array of any of those to select keepExisting : Boolean(optional) true to keep existing selections suppressEvent : Boolean(optional) true to skip firing of the selectionchange vent Returns: | DataView | | selectRange( Number start , Number end , [Boolean keepExisting ] )
:
- voidSelects a range of nodes. All nodes between start and end are selected. Selects a range of nodes. All nodes between start and end are selected. Parameters:start : NumberThe index of the first node in the range end : NumberThe index of the last node in the range keepExisting : Boolean(optional) True to retain existing selections Returns: | DataView | | setDisabled( Boolean disabled )
+ voidSelects a range of nodes. All nodes between start and end are selected. Selects a range of nodes. All nodes between start and end are selected. Parameters:start : NumberThe index of the first node in the range end : NumberThe index of the last node in the range keepExisting : Boolean(optional) True to retain existing selections Returns: | DataView | | setAutoScroll( Boolean scroll )
+ :
+ Ext.BoxComponentSets the overflow on the content element of the component. Sets the overflow on the content element of the component. | BoxComponent | | setDisabled( Boolean disabled )
:
Ext.ComponentConvenience function for setting disabled/enabled by boolean. Convenience function for setting disabled/enabled by boolean. | Component | | setHeight( Number height )
:
@@ -1027,9 +1084,16 @@ after the Force the component's size to recalculate based on the underlying element's current height and width. Force the component's size to recalculate based on the underlying element's current height and width. | BoxComponent | | un( String eventName , Function handler , [Object scope ] )
:
- voidRemoves an event handler (shorthand for removeListener.) | Observable | | updateBox( Object box )
+ voidRemoves an event handler (shorthand for removeListener.) | Observable | | update( Mixed htmlOrData , [Boolean loadScripts ], [Function callback ] )
+ :
+ voidUpdate the content area of a component. Update the content area of a component. Parameters:htmlOrData : MixedIf this component has been configured with a template via the tpl config
+then it will use this argument as data to populate the template.
+If this component was not configured with a template, the components
+content area will be updated via Ext.Element update loadScripts : Boolean(optional) Only legitimate when using the html configuration. Defaults to false callback : Function(optional) Only legitimate when using the html configuration. Callback to execute when scripts have finished loading Returns: | Component | | updateBox( Object box )
:
- Ext.BoxComponentSets the current box measurements of the component's underlying element. Sets the current box measurements of the component's underlying element. | BoxComponent |
Public Events|
| afterrender :
+ Ext.BoxComponentSets the current box measurements of the component's underlying element. Sets the current box measurements of the component's underlying element. | BoxComponent |
Public Events|
| added :
+ ( Ext.Component this , Ext.Container ownerCt , number index )
+ Fires when a component is added to an Ext.Container Fires when a component is added to an Ext.Container Listeners will be called with the following arguments: | Component | | afterrender :
( Ext.Component this )
Fires after the component rendering is finished.
The afterrender event is fired after this Component has been rendere... Fires after the component rendering is finished.
@@ -1085,11 +1149,13 @@ has a null implementation. | Fires after the component is hidden.
Fires after the component is hidden when calling the hide method.Listeners will be called with the following arguments: | Component | | mouseenter :
( Ext.DataView this , Number index , HTMLElement node , Ext.EventObject e )
- Fires when the mouse enters a template node. trackOver:true or an overCls must be set to enable this event. Fires when the mouse enters a template node. trackOver:true or an overCls must be set to enable this event. Listeners will be called with the following arguments: | DataView | | mouseleave :
+ Fires when the mouse enters a template node. trackOver:true or an overClass must be set to enable this event. Fires when the mouse enters a template node. trackOver:true or an overClass must be set to enable this event. Listeners will be called with the following arguments: | DataView | | mouseleave :
( Ext.DataView this , Number index , HTMLElement node , Ext.EventObject e )
- Fires when the mouse leaves a template node. trackOver:true or an overCls must be set to enable this event. Fires when the mouse leaves a template node. trackOver:true or an overCls must be set to enable this event. Listeners will be called with the following arguments: | DataView | | move :
+ Fires when the mouse leaves a template node. trackOver:true or an overClass must be set to enable this event. Fires when the mouse leaves a template node. trackOver:true or an overClass must be set to enable this event. Listeners will be called with the following arguments: | DataView | | move :
( Ext.Component this , Number x , Number y )
- Fires after the component is moved. Fires after the component is moved. Listeners will be called with the following arguments:this : Ext.Componentx : NumberThe new x position y : NumberThe new y position
| BoxComponent | | render :
+ Fires after the component is moved. Fires after the component is moved. Listeners will be called with the following arguments:this : Ext.Componentx : NumberThe new x position y : NumberThe new y position
| BoxComponent | | removed :
+ ( Ext.Component this , Ext.Container ownerCt )
+ Fires when a component is removed from an Ext.Container Fires when a component is removed from an Ext.Container Listeners will be called with the following arguments: | Component | | render :
( Ext.Component this )
Fires after the component markup is rendered. Fires after the component markup is rendered. Listeners will be called with the following arguments: | Component | | resize :
( Ext.Component this , Number adjWidth , Number adjHeight , Number rawWidth , Number rawHeight )
|
|