X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.grid.PropertyGrid.html?ds=inline diff --git a/docs/output/Ext.grid.PropertyGrid.html b/docs/output/Ext.grid.PropertyGrid.html index 2a48b221..ad1b8cbf 100644 --- a/docs/output/Ext.grid.PropertyGrid.html +++ b/docs/output/Ext.grid.PropertyGrid.html @@ -1,4 +1,4 @@ -
Observable Component BoxComponent Container Panel GridPanel EditorGridPanel PropertyGrid
Package: | Ext.grid |
Defined In: | PropertyGrid.js |
Class: | PropertyGrid |
Extends: | EditorGridPanel |
Observable Component BoxComponent Container Panel GridPanel EditorGridPanel PropertyGrid
Package: | Ext.grid |
Defined In: | PropertyGrid.js |
Class: | PropertyGrid |
Extends: | EditorGridPanel |
var grid = new Ext.grid.PropertyGrid({
@@ -22,18 +22,18 @@ based layout manager, for example:
See Ext.layout.AnchorLayout.anchor also.
true
to animate the transition when the panel is collapsed, false
to skip the
-animation (defaults to true
if the Ext.Fx class is available, otherwise false
).The id of a column in -this grid that should expand to fill unused space. This value specified here can not -be 0.
-Note: If the Grid's view is configured with -forceFit=true the autoExpandColumn -is ignored. See Ext.grid.Column.width -for additional details.
-See autoExpandMax and autoExpandMin also.
true
if the Ext.Fx class is available, otherwise false
).The id of a column in +this grid that should expand to fill unused space. This value specified here can not +be 0.
+Note: If the Grid's view is configured with +forceFit=true the autoExpandColumn +is ignored. See Ext.grid.Column.width +for additional details.
+See autoExpandMax and autoExpandMin also.
true
to use height:'auto', false
to use fixed height (defaults to false
).
Note: Setting autoHeight: true
means that the browser will manage the panel's height
@@ -108,9 +108,9 @@ 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.
An array of events that, when fired, should be bubbled to any parent container. -See Ext.util.Observable.enableBubble. +
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 [].
'right'
,
'left'
and 'center'
(defaults to 'right'
).false
to render it last (
false
).'x-panel-collapsed'
).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 @@ -193,14 +193,14 @@ that it will render. Example usage: Available: true } });
tpl
to
-update the content area of the Component.ddText : '{0} selected row{1}'
-{0} is replaced with the number of selected rows.Defaults to true to enable deferred row rendering.
-This allows the GridPanel to be initially rendered empty, with the expensive update of the row -structure deferred so that layouts with GridPanels appear more quickly.
true to disable selections in the grid. Defaults to false.
+update the content area of the Component.ddText : '{0} selected row{1}'
+{0} is replaced with the number of selected rows.Defaults to true to enable deferred row rendering.
+This allows the GridPanel to be initially rendered empty, with the expensive update of the row +structure deferred so that layouts with GridPanels appear more quickly.
true to disable selections in the grid. Defaults to false.
Ignored if a SelectionModel is specified.
false
). An important note when using the disabled
config on panels is that IE will often fail to initialize the disabled mask element correectly if
@@ -258,17 +258,17 @@ added by implementing the interface methods of PanelEnables dragging of the selected rows of the GridPanel. Defaults to false.
-Setting this to true causes this GridPanel's GridView to -create an instance of Ext.grid.GridDragZone. Note: this is available only after -the Grid has been rendered as the GridView's dragZone -property.
-A cooperating DropZone must be created who's implementations of -onNodeEnter, onNodeOver, -onNodeOut and onNodeDrop are able +}).show();
Enables dragging of the selected rows of the GridPanel. Defaults to false.
+Setting this to true causes this GridPanel's GridView to +create an instance of Ext.grid.GridDragZone. Note: this is available only after +the Grid has been rendered as the GridView's dragZone +property.
+A cooperating DropZone must be created who's implementations of +onNodeEnter, onNodeOver, +onNodeOut and onNodeDrop are able to process the data which is provided.
false
.Note: this config is only used when this BoxComponent is rendered
by a Container which has been configured to use the BorderLayout
@@ -674,12 +674,12 @@ only applies when 4
). Note that this
option only applies when floating = true
.
false
to disable the iframe shim in browsers which need one (defaults to true
).
-Note that this option only applies when floating = true
.stateEvents: ['columnmove', 'columnresize', 'sortchange', 'groupchange']
-These can be any types of events supported by this component, including browser or -custom events (e.g., ['click', 'customerchange']).
-See Ext.Component.stateful for an explanation of saving and restoring
+Note that this option only applies when floating = true
.
stateEvents: ['columnmove', 'columnresize', 'sortchange', 'groupchange']
+These can be any types of events supported by this component, including browser or +custom events (e.g., ['click', 'customerchange']).
+See Ext.Component.stateful for an explanation of saving and restoring Component state.
You can perform extra processing on state save and restore by attaching handlers to the beforestaterestore, staterestore, -beforestatesave and statesave events.
This causes the CSS class x-grid3-row-alt to be added to alternate rows of -the grid. A default CSS rule is provided which sets a background colour, but you can override this -with a rule which either overrides the background-color style using the '!important' +beforestatesave and statesave events.
This causes the CSS class x-grid3-row-alt to be added to alternate rows of +the grid. A default CSS rule is provided which sets a background colour, but you can override this +with a rule which either overrides the background-color style using the '!important' modifier, or which uses a CSS selector of higher specificity.
The Ext.(X)Template method to use when
updating the content area of the Component. Defaults to 'overwrite'
-(see Ext.XTemplate.overwrite
).
Ext.XTemplate.overwrite
).Note: see the Note for el
also.
Note: to access items within the Container see itemId.
ref
.Method | Defined By | ||
---|---|---|---|
PropertyGrid( Object config )
Parameters:
| PropertyGrid | ||
addButton( String/Object config , Function handler , Object scope )
@@ -1027,38 +1025,38 @@ removing the component from its Ext.ComponentMgr. Destruction is generally handled automatically by the framework and this method
should usually not need to be called directly.Parameters:
| 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
- 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:
| Observable | ||
expand( Boolean animate )
:
Ext.PanelExpands the panel body so that it becomes visible. Fires the beforeexpand event which will
@@ -1107,7 +1105,9 @@ or use a render listener directly:
Parameters:
| Component | ||
getFrameHeight()
+}); Parameters:
| Component | ||
getFooterToolbar() + : + Ext.Toolbar | Panel | ||
getFrameHeight()
:
Number Returns the height in pixels of the framing elements of this panel (including any top and bottom bars and
header and ... Returns the height in pixels of the framing elements of this panel (including any top and bottom bars and
@@ -1159,9 +1159,9 @@ contains both the <input> Element (which is what would be return
by its getEl method, and the trigger button Element.
This Element is returned as the resizeEl .Parameters:
| BoxComponent | ||
getSelectionModel()
:
- SelectionModel Returns the grid's selection model configured by the selModel
-configuration option. If no selection model was config... Returns the grid's selection model configured by the selModel
-configuration option. If no selection model was configured, this will create
+ SelectionModelReturns the grid's selection model configured by the selModel
+configuration option. If no selection model was configu... Returns the grid's selection model configured by the selModel
+configuration option. If no selection model was configured, this will create
and return a RowSelectionModel.Parameters:
| GridPanel | ||
getSize()
:
Object Gets the current size of the component's underlying element. Gets the current size of the component's underlying element. Parameters:
| BoxComponent | ||
getSource()
@@ -1246,14 +1246,14 @@ is the scope (this reference) in which the handler function is exec
:
voidRemoves all listeners for this object Removes all listeners for this object Parameters:
| Observable | ||
reconfigure( Ext.data.Store store , Ext.grid.ColumnModel colModel )
:
- voidReconfigures the grid to use a different Store and Column Model
-and fires the 'reconfigure' event. The View will be ... Reconfigures the grid to use a different Store and Column Model -and fires the 'reconfigure' event. The View will be bound to the new -objects and refreshed. -Be aware that upon reconfiguring a GridPanel, certain existing settings may become -invalidated. For example the configured autoExpandColumn may no longer exist in the -new ColumnModel. Also, an existing PagingToolbar will still be bound -to the old Store, and will need rebinding. Any plugins might also need reconfiguring + void Reconfigures the grid to use a different Store and Column Model
+and fires the 'reconfigure' event. The View will be b... Reconfigures the grid to use a different Store and Column Model +and fires the 'reconfigure' event. The View will be bound to the new +objects and refreshed. +Be aware that upon reconfiguring a GridPanel, certain existing settings may become +invalidated. For example the configured autoExpandColumn may no longer exist in the +new ColumnModel. Also, an existing PagingToolbar will still be bound +to the old Store, and will need rebinding. Any plugins might also need reconfiguring with the new data. Parameters:
| GridPanel | ||
relayEvents( Object o , Array events )
:
voidRelays selected events from the specified Observable as if the events were fired by this. Relays selected events from the specified Observable as if the events were fired by this. Parameters:
| Observable | ||
removeAll( [Boolean autoDestroy ] )
@@ -1297,10 +1297,10 @@ event...Resume firing events. (see Parameters:
| Observable | ||
setAutoScroll( Boolean scroll )
:
- Ext.BoxComponentSets the overflow on the content element of the component. Sets the overflow on the content element of the component. Parameters:
| BoxComponent | ||
setHeight( Number height )
+ Ext.BoxComponentSets the overflow on the content element of the component. Sets the overflow on the content element of the component. Parameters:
| BoxComponent | ||
setHeight( Mixed height )
:
- Ext.BoxComponentSets the height of the component. This method fires the resize event. Sets the height of the component. This method fires the resize event. Parameters:
| BoxComponent | ||
setIconClass( String cls )
@@ -1353,10 +1353,10 @@ In order to be able to set the title, a header eleme... | Panel | ||
setVisible( Boolean visible )
:
- Ext.ComponentConvenience function to hide or show this component by boolean. Convenience function to hide or show this component by boolean. Parameters:
| Component | ||
setWidth( Number width )
+ Ext.ComponentConvenience function to hide or show this component by boolean. Convenience function to hide or show this component by boolean. Parameters:
| Component | ||
setWidth( Mixed width )
:
- Ext.BoxComponentSets the width of the component. This method fires the resize event. Sets the width of the component. This method fires the resize event. Parameters:
| BoxComponent | ||
show() : @@ -1473,16 +1473,16 @@ has a null implementation. | Fires when the body element is scrolled Fires when the body element is scrolled Listeners will be called with the following arguments:
| GridPanel | |
cellclick :
( Grid this , Number rowIndex , Number columnIndex , Ext.EventObject e )
- Fires when a cell is clicked.
-The data for the cell is drawn from the Record
-for this row. To access the data in th... Fires when a cell is clicked.
-The data for the cell is drawn from the Record
-for this row. To access the data in the listener function use the
-following technique:
-
| GridPanel | ||
cellcontextmenu :
( Grid this , Number rowIndex , Number cellIndex , Ext.EventObject e )
Fires when a cell is right clicked Fires when a cell is right clicked Listeners will be called with the following arguments:
| GridPanel | ||
celldblclick : |