X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.grid.EditorGridPanel.html?ds=sidebyside diff --git a/docs/output/Ext.grid.EditorGridPanel.html b/docs/output/Ext.grid.EditorGridPanel.html index fa5d0f1e..28bbff5f 100644 --- a/docs/output/Ext.grid.EditorGridPanel.html +++ b/docs/output/Ext.grid.EditorGridPanel.html @@ -1,4 +1,4 @@ -
Observable
  Component
    BoxComponent
      Container
        Panel
          GridPanel
            EditorGridPanel

Class Ext.grid.EditorGridPanel

Package:Ext.grid
Defined In:EditorGrid.js
Class:EditorGridPanel
Subclasses:PropertyGrid
Extends:GridPanel

This class extends the GridPanel Class to provide cell editing +

Observable
  Component
    BoxComponent
      Container
        Panel
          GridPanel
            EditorGridPanel

Class Ext.grid.EditorGridPanel

Package:Ext.grid
Defined In:EditorGrid.js
Class:EditorGridPanel
Subclasses:PropertyGrid
Extends:GridPanel

This class extends the GridPanel Class to provide cell editing on selected columns. The editable columns are specified by providing an editor in the column configuration.

Editability of columns may be controlled programatically by inserting an implementation @@ -22,18 +22,18 @@ based layout manager, for example:

See Ext.layout.AnchorLayout.anchor also.

BoxComponent animCollapse : Boolean
true to animate the transition when the panel is collapsed, false to skip the animation (defaults to true if the Ext....
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).
Panel autoEncode : Boolean
True to automatically HTML encode and decode values pre and post edit (defaults to false)
EditorGridPanel autoExpandColumn : String
The id of a column in -this grid that should expand to fill unused space. This value specified here can not -be 0. -N...

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.

GridPanel autoExpandMax : Number
The maximum width the autoExpandColumn -can have (if enabled). Defaults to 1000.
GridPanel autoExpandMin : Number
The minimum width the autoExpandColumn +animation (defaults to true if the Ext.Fx class is available, otherwise false).
Panel autoEncode : Boolean
True to automatically HTML encode and decode values pre and post edit (defaults to false)
EditorGridPanel autoExpandColumn : String
The id of a column in +this grid that should expand to fill unused space. This value specified here can not +be 0. +Note...

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.

GridPanel autoExpandMax : Number
The maximum width the autoExpandColumn +can have (if enabled). Defaults to 1000.
GridPanel autoExpandMin : Number
The minimum width the autoExpandColumn can have (if enabled). Defaults to 50.
GridPanel autoHeight : Boolean
true to use height:'auto', false to use fixed height (defaults to false). Note: Setting autoHeight: true means that t...
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.

BoxComponent boxMinWidth : Number
The 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 bubbleEvents : Array
An array of events that, when fired, should be bubbled to any parent container. -See Ext.util.Observable.enableBubble...

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.

BoxComponent bubbleEvents : Array
An array of events that, when fired, should be bubbled to any parent container. +See Ext.util.Observable.enableBubble....

An array of events that, when fired, should be bubbled to any parent container. +See Ext.util.Observable.enableBubble. Defaults to [].

GridPanel buttonAlign : String
The alignment of any buttons added to this panel. Valid values are 'right', 'left' and 'center' (defaults to 'right'...
The alignment of any buttons added to this panel. Valid values are 'right', 'left' and 'center' (defaults to 'right').
Panel buttons : Array
buttons will be used as items for the toolbar in @@ -142,11 +142,11 @@ any other tools in the panel's title bar, false to render it last ( false).
Panel collapsedCls : String
A CSS class to add to the panel's element after it has been collapsed (defaults to 'x-panel-collapsed').
Panel collapsible : Boolean
True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into the header ...
True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into -the header tool button area, false to keep the panel statically sized with no button (defaults to false).
Panel columnLines : Boolean
true to add css for column separation lines. -Default is false.
GridPanel columns : Array
An array of columns to auto create a -Ext.grid.ColumnModel. The ColumnModel may be explicitly created via the -colMo...
An array of columns to auto create a -Ext.grid.ColumnModel. The ColumnModel may be explicitly created via the +the header tool button area, false to keep the panel statically sized with no button (defaults to false).
Panel columnLines : Boolean
true to add css for column separation lines. +Default is false.
GridPanel columns : Array
An array of columns to auto create a +Ext.grid.ColumnModel. The ColumnModel may be explicitly created via the +colMode...
An array of columns to auto create a +Ext.grid.ColumnModel. The ColumnModel may be explicitly created via the colModel configuration property.
GridPanel ctCls : String
An 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 @@ -159,14 +159,14 @@ 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 data : Mixed
The initial set of data to apply to the tpl to -update the content area of the Component.
Component ddGroup : String
The DD group this GridPanel belongs to. Defaults to 'GridDD' if not specified.
GridPanel ddText : String
Configures the text in the drag proxy. Defaults to: -ddText : '{0} selected row{1}' -{0} is replaced with the number...
Configures the text in the drag proxy. Defaults to: -
ddText : '{0} selected row{1}'
-{0} is replaced with the number of selected rows.
GridPanel deferRowRender : Boolean
Defaults to true to enable deferred row rendering. -This allows the GridPanel to be initially rendered empty, with th...

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.

GridPanel disableSelection : Boolean

true to disable selections in the grid. Defaults to false.

+update the content area of the Component.
Component ddGroup : String
The DD group this GridPanel belongs to. Defaults to 'GridDD' if not specified.
GridPanel ddText : String
Configures the text in the drag proxy. Defaults to: +ddText : '{0} selected row{1}' +{0} is replaced with the number o...
Configures the text in the drag proxy. Defaults to: +
ddText : '{0} selected row{1}'
+{0} is replaced with the number of selected rows.
GridPanel deferRowRender : Boolean
Defaults to true to enable deferred row rendering. +This allows the GridPanel to be initially rendered empty, with the...

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.

GridPanel disableSelection : Boolean

true to disable selections in the grid. Defaults to false.

Ignored if a SelectionModel is specified.

GridPanel disabled : Boolean
Render this panel disabled (default is false). An important note when using the disabled config on panels is that IE ...
Render this panel disabled (default is 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 @@ -224,17 +224,17 @@ added by implementing the interface methods of Panel enableColumnHide : Boolean
Defaults to true to enable hiding of columns -with the header menu.
GridPanel enableColumnMove : Boolean
Defaults to true to enable drag and drop reorder of columns. false -to turn off column reordering via drag drop.
GridPanel enableColumnResize : Boolean
false to turn off column resizing for the whole grid. Defaults to true.
GridPanel enableDragDrop : Boolean
Enables dragging of the selected rows of the GridPanel. Defaults to false. -Setting this to true causes this GridPane...

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 +}).show();

Panel enableColumnHide : Boolean
Defaults to true to enable hiding of columns +with the header menu.
GridPanel enableColumnMove : Boolean
Defaults to true to enable drag and drop reorder of columns. false +to turn off column reordering via drag drop.
GridPanel enableColumnResize : Boolean
false to turn off column resizing for the whole grid. Defaults to true.
GridPanel enableDragDrop : Boolean
Enables dragging of the selected rows of the GridPanel. Defaults to false. +Setting this to true causes this GridPanel...

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.

GridPanel enableHdMenu : Boolean
Defaults to true to enable the drop down button for menu in the headers.
GridPanel fbar : Object/Array
A Toolbar object, a Toolbar config, or an array of Buttons/Button configs, describing a Toolbar to be rendered into t...

A Toolbar object, a Toolbar config, or an array of Buttons/Button configs, describing a Toolbar to be rendered into this Panel's footer element.

@@ -543,7 +543,7 @@ Ext.DomObserver = Ext.extend(Object, { typeAhead: true, mode: 'local', triggerAction: 'all' -});

Observable loadMask : Object
An Ext.LoadMask config or true to mask the grid while +});

Observable loadMask : Object
An Ext.LoadMask config or true to mask the grid while loading. Defaults to false.
GridPanel margins : Object
Note: 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 @@ -638,12 +638,12 @@ only applies when

Panel shim : Boolean
false to disable the iframe shim in browsers which need one (defaults to true). Note that this option only applies wh...
false to disable the iframe shim in browsers which need one (defaults to true). -Note that this option only applies when floating = true.
Panel sm : Object
Shorthand for selModel.
GridPanel stateEvents : Array
An array of events that, when fired, should trigger this component to save its state. -Defaults to:stateEvents: ['col...
An array of events that, when fired, should trigger this component to save its state. -Defaults to:
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.

Panel sm : Object
Shorthand for selModel.
GridPanel stateEvents : Array
An array of events that, when fired, should trigger this component to save its state. +Defaults to:stateEvents: ['colu...
An array of events that, when fired, should trigger this component to save its state. +Defaults to:
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.

GridPanel stateId : String
The unique id for this component to use for state management purposes (defaults to the component id if one was set, o...
The unique id for this component to use for state management purposes (defaults to the component id if one was set, otherwise null if the @@ -685,11 +685,11 @@ properties into the object, but a developer may override this to support more behaviour.

You can perform extra processing on state save and restore by attaching handlers to the beforestaterestore, staterestore, -beforestatesave and statesave events.

Component store : Ext.data.Store
The Ext.data.Store the grid should use as its data source (required).
GridPanel stripeRows : Boolean
true to stripe the rows. Default is false. -This causes the CSS class x-grid3-row-alt to be added to alternate rows o...
true to stripe the rows. Default is false. -

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.

Component store : Ext.data.Store
The Ext.data.Store the grid should use as its data source (required).
GridPanel stripeRows : Boolean
true to stripe the rows. Default is false. +This causes the CSS class x-grid3-row-alt to be added to alternate rows of...
true to stripe the rows. Default is false. +

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.

GridPanel style : String
A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.ap...
A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.applyStyles. @@ -842,10 +842,10 @@ updating the content area of the Component. Defaults to 'overwrite' updating the content area of the Component. Defaults to 'overwrite' (see Ext.XTemplate.overwrite).
Component unstyled : Boolean
Overrides the baseCls setting to baseCls = 'x-plain' which renders the panel unstyled except for required attributes ...
Overrides the baseCls setting to baseCls = 'x-plain' which renders -the panel unstyled except for required attributes for Ext layouts to function (e.g. overflow:hidden).
Panel view : Object
The Ext.grid.GridView used by the grid. This can be set -before a call to render().
GridPanel viewConfig : Object
A config object that will be applied to the grid's UI view. Any of -the config options available for Ext.grid.GridVi...
A config object that will be applied to the grid's UI view. Any of -the config options available for Ext.grid.GridView can be specified here. This option +the panel unstyled except for required attributes for Ext layouts to function (e.g. overflow:hidden).
Panel view : Object
The Ext.grid.GridView used by the grid. This can be set +before a call to render().
GridPanel viewConfig : Object
A config object that will be applied to the grid's UI view. Any of +the config options available for Ext.grid.GridVie...
A config object that will be applied to the grid's UI view. Any of +the config options available for Ext.grid.GridView can be specified here. This option is ignored if view is specified.
GridPanel width : Number
The 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 : String
The registered xtype to create. This config option is not used when passing @@ -902,9 +902,7 @@ Note: see the Note for el al...
The Panel's header

Note: see the Note for el also.

Panel hidden : Boolean
True if this component is hidden. Read-only.
Component initialConfig : Object
This Component's initial configuration specification. Read-only.
Component ownerCt : Ext.Container
This 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 private : Object
We can only lay out if there is a view area in which to layout. -display:none on the layout target, *or any of its par...
We can only lay out if there is a view area in which to layout. -display:none on the layout target, *or any of its parent elements* will mean it has no view area.
Container refOwner : Ext.Container
The ancestor Container into which the ref reference was inserted if this Component +

Note: to access items within the Container see itemId.

Component refOwner : Ext.Container
The 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

MethodDefined By