X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.DataView.html diff --git a/docs/output/Ext.DataView.html b/docs/output/Ext.DataView.html index d3ba7e3e..3830cdcc 100644 --- a/docs/output/Ext.DataView.html +++ b/docs/output/Ext.DataView.html @@ -1,4 +1,4 @@ -
Observable Component BoxComponent DataView
Package: | Ext |
Defined In: | DataView.js |
Class: | DataView |
Subclasses: | ListView |
Extends: | BoxComponent |
Observable Component BoxComponent DataView
Package: | Ext |
Defined In: | DataView.js |
Class: | DataView |
Subclasses: | ListView |
Extends: | BoxComponent |
var myPanel = <
}, {
title: 'Box 3'
}],
-});
The maximum value in pixels which this BoxComponent will set its height to.
Warning: This will override any size management applied by layout managers.
The maximum value in pixels which this BoxComponent will set its width to.
@@ -168,7 +170,10 @@ Warning: This will override any size manag...The maxi 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.
The minimum value in pixels which this BoxComponent will set its width to.
-Warning: This will override any size management applied by layout managers.
Warning: This will override any size management applied by layout managers.
An array of events that, when fired, should be bubbled to any parent container. +See Ext.util.Observable.enableBubble. +Defaults to [].
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').
@@ -703,9 +708,9 @@ DataView's XTemplate which uses '<tpl for=".">' to iterate over its supplied data object as an Array. However, named properties may be placed into the data object to provide non-repeating data such as headings, totals etc.records
: ArraystartIndex
: NumberArray
HTMLElement/Number node
)
+contain <i>named</i> properties.HTMLElement/Number/Record node
)
:
- voidnode
: HTMLElement/Numbernode
: HTMLElement/Number/RecordExt.Component
String/Array events
)
:
- voidEnables events fired by this Observable to bubble up an owner hierarchy by calling
-this.getBubbleTarget()
if present. There is no implementation in the Observable base class.
This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default -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');
- }),
-
- // We know that we want Field's events to bubble directly to the FormPanel.
- getBubbleTarget : function() {
- if (!this.formPanel) {
- this.formPanel = this.findParentByType('form');
- }
- return this.formPanel;
- }
-});
-
-var myForm = new Ext.formPanel({
- title: 'User Details',
- items: [{
- ...
- }],
- listeners: {
- change: function() {
- // Title goes red if form has been modified.
- myForm.header.setStyle('color', 'red');
- }
- }
+ 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
+this.getBubbleTarget()
if present. There is no implementation in the Observable base class.
+This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default
+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');
+ }),
+
+ // We know that we want Field's events to bubble directly to the FormPanel.
+ getBubbleTarget : function() {
+ if (!this.formPanel) {
+ this.formPanel = this.findParentByType('form');
+ }
+ return this.formPanel;
+ }
+});
+
+var myForm = new Ext.formPanel({
+ title: 'User Details',
+ items: [{
+ ...
+ }],
+ listeners: {
+ change: function() {
+ // Title goes red if form has been modified.
+ myForm.header.setStyle('color', 'red');
+ }
+ }
});
Parameters:events
: String/ArrayThe event name to bubble, or an Array of event names.
Returns:- void
HTMLElement node
)
:
HTMLElementnode
: HTMLElementHTMLElement
Function fn
)
@@ -798,9 +803,10 @@ returns an id
if an id
is not defined yet:<
itemId was not assigned through configuration the
id is returned using g...
HTMLElement/String/Number nodeInfo
)
+id
is returned using getId
.String
HTMLElement/String/Number/Ext.data.Record nodeInfo
)
:
- HTMLElementnodeInfo
: HTMLElement/String/NumberHTMLElement
Number start
], [Number end
] )
+ HTMLElementnodeInfo
: HTMLElement/String/Number/Ext.data.RecordHTMLElement
Number start
], [Number end
] )
:
Arraystart
: Numberend
: NumberArray
hidden
.Ext.Component
HTMLElement/String/Number nodeInfo
)
+the component is configured to be hidden
.Ext.Component
HTMLElement/String/Number/Record nodeInfo
)
:
- NumbernodeInfo
: HTMLElement/String/NumberNumber
HTMLElement/Number node
)
+ NumbernodeInfo
: HTMLElement/String/Number/RecordNumber
HTMLElement/Number/Ext.data.Record node
)
:
- Booleannode
: HTMLElement/NumberBoolean
node
: HTMLElement/Number/Ext.data.RecordBoolean
Boolean
String xtype
, [Boolean shallow
] )
:
@@ -949,19 +956,19 @@ which this component will be inserted (defaults to appending to the end of the c
If events were suspended using the queueSuspended parameter, then all
event...Array/HTMLElement/String/Number nodeInfo
, [Boolean keepExisting
], [Boolean suppressEvent
] )
+events fired during event suspension will be sent to any listeners now.Array/HTMLElement/String/Number/Ext.data.Record nodeInfo
, [Boolean keepExisting
], [Boolean suppressEvent
] )
:
- voidnodeInfo
: Array/HTMLElement/String/NumberkeepExisting
: BooleansuppressEvent
: BooleanNumber start
, Number end
, [Boolean keepExisting
] )
+ voidnodeInfo
: Array/HTMLElement/String/Number/Ext.data.RecordkeepExisting
: BooleansuppressEvent
: BooleanNumber start
, Number end
, [Boolean keepExisting
] )
:
voidstart
: Numberend
: NumberkeepExisting
: BooleanBoolean scroll
)
:
Ext.BoxComponentscroll
: BooleanExt.BoxComponent
Boolean disabled
)
:
- Ext.Componentdisabled
: BooleanExt.Component
Number height
)
+ Ext.Componentdisabled
: BooleanExt.Component
Mixed height
)
:
- Ext.BoxComponentheight
: Numberheight
: MixedExt.BoxComponent
Number x
, Number y
)
@@ -990,10 +997,10 @@ This may be one of:store
: StoreBoolean visible
)
:
- Ext.Componentvisible
: BooleanExt.Component
Number width
)
+ Ext.Componentvisible
: BooleanExt.Component
Mixed width
)
:
- Ext.BoxComponentwidth
: Numberwidth
: MixedExt.BoxComponent