X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/docs/output/Ext.grid.EditorGridPanel.html diff --git a/docs/output/Ext.grid.EditorGridPanel.html b/docs/output/Ext.grid.EditorGridPanel.html index e8b4eeed..b26632f4 100644 --- a/docs/output/Ext.grid.EditorGridPanel.html +++ b/docs/output/Ext.grid.EditorGridPanel.html @@ -1,4 +1,4 @@ -
Properties Methods Events Config Options Direct Link
Observable
  Component
    BoxComponent
      Container
        Panel
          GridPanel
            EditorGridPanel

Class Ext.grid.EditorGridPanel

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

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 @@ -100,8 +100,18 @@ styling applied.

Additional css class selector to be applied to the body element in the format expected by Ext.Element.addClass (defaults to null). See bodyCfg.
Panel border : Boolean
True to display the borders of the panel's body element, false to hide them (defaults to true). By default, the bord...
True to display the borders of the panel's body element, false to hide them (defaults to true). By default, -the border is a 2px wide inset border, but this can be further altered by setting bodyBorder to false.
Panel bubbleEvents : Array

An array of events that, when fired, should be bubbled to any parent container. -Defaults to [].

GridPanel buttonAlign : String
The alignment of any buttons added to this panel. Valid values are 'right', +the border is a 2px wide inset border, but this can be further altered by setting bodyBorder to false.
Panel boxMaxHeight : Number
The 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 : Number
The 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 : Number
The 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 : 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. +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 the footer (fbar). Typically the value of this configuration propert...
buttons will be used as items for the toolbar in @@ -148,7 +158,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 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: +

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}'
@@ -286,8 +297,8 @@ will be created automatically if ...
true to will be created automatically if buttons or a fbar have been configured. See bodyCfg for an example.
Panel footerCfg : Object
A DomHelper element specification object specifying the element structure of this Panel's footer Element. See bodyCf...

A DomHelper element specification object specifying the element structure -of this Panel's footer Element. See bodyCfg also.

Panel forceLayout : Boolean
If true the container will force a layout initially even if hidden or collapsed. This option -is useful for forcing f...
If true the container will force a layout initially even if hidden or collapsed. This option +of this Panel's footer Element. See bodyCfg also.

Panel forceLayout : Boolean
If true the container will force a layout initially even if hidden or collapsed. This option +is useful for forcing fo...
If true the container will force a layout initially even if hidden or collapsed. This option is useful for forcing forms to render in collapsed or hidden containers. (defaults to false).
Container forceValidation : Boolean
True to force validation even if the value is unmodified (defaults to false)
EditorGridPanel frame : Boolean
false by default to render with plain 1px square borders. true to render with 9 elements, complete with custom rounde...
false by default to render with plain 1px square borders. true to render with 9 elements, complete with custom rounded corners (also see Ext.Element.boxWrap). @@ -555,7 +566,10 @@ when it is disabled, but masking the panel can provide an additional visual cue disabled.
Panel maxHeight : Number
Sets the maximum height of the grid - ignored if autoHeight is not on.
GridPanel minButtonWidth : Number
Minimum width in pixels of all buttons in this panel (defaults to 75)
Panel minColumnWidth : Number
The minimum width a column can be resized to. Defaults to 25.
GridPanel overCls : String
An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and...
An optional extra CSS class that will be added to this component's Element when the mouse moves over the Element, and removed when the mouse moves out. (defaults to ''). This can be -useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.
Component pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent plugins : Object/Array
An object or array of objects that will provide custom functionality for this component. The only +useful for adding customized 'active' or 'hover' styles to the component or any of its children using standard CSS rules.
Component padding : Number/String
A shortcut for setting a padding style on the body element. The value can either be +a number to be applied to all sid...
A shortcut for setting a padding style on the body element. The value can either be +a number to be applied to all sides, or a normal css string describing padding. +Defaults to undefined.
Panel pageX : Number
The page level x coordinate for this component if contained within a positioning container.
BoxComponent pageY : Number
The page level y coordinate for this component if contained within a positioning container.
BoxComponent plugins : Object/Array
An object or array of objects that will provide custom functionality for this component. The only requirement for a ...
An object or array of objects that will provide custom functionality for this component. The only requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component is created, if any plugins are available, the component will call the init method on each @@ -569,9 +583,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 : String
A 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 : String
A 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',
@@ -590,9 +604,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 : String
Note: 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 : String
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 layout manager (e.g. specifying layout:'border').


@@ -775,7 +790,7 @@ call when clicked. Arguments passed are:
  • event : Ext.EventObject
    The click event.
  • toolEl : Ext.Element
    The tool Element.
  • panel : Ext.Panel
    The host Panel
  • -
  • tc : Ext.Panel
    The tool configuration object
  • +
  • tc : Object
    The tool configuration object
  • stopEvent : Boolean
    Defaults to true. Specify as false to allow click event to propagate.
  • scope : Object
    The scope in which to call the handler.
  • @@ -810,7 +825,16 @@ a 15x15 image:

    .x-tool-help-over {background-image: url(images/help_over.png);} // if using an image sprite: .x-tool-help {background-image: url(images/help.png) no-repeat 0 0;} -.x-tool-help-over {background-position:-15px 0;}
    Panel unstyled : Boolean
    Overrides the baseCls setting to baseCls = 'x-plain' which renders +.x-tool-help-over {background-position:-15px 0;}
    Panel tpl : Mixed
    An Ext.Template, Ext.XTemplate +or an array of strings to form an Ext.XTemplate. +Used in conjunction with the data and...
    An Ext.Template, Ext.XTemplate +or an array of strings to form an Ext.XTemplate. +Used in conjunction with the data and +tplWriteMode configurations.
    Component tplWriteMode : String
    The 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 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 @@ -872,13 +896,15 @@ 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 rendered : Boolean
    True if this component has been rendered. Read-only.
    Component

    Public Methods

    MethodDefined By
     rendered : Boolean
    True if this component has been rendered. Read-only.
    Component

    Public Methods

    MethodDefined By

    Public Events

    EventDefined By
    \ No newline at end of file +});
    Listeners will be called with the following arguments:
    EditorGridPanel viewready : + ( Grid this ) +
    Fires when the grid view is available (use this for selecting a default row).
    Fires when the grid view is available (use this for selecting a default row).
    Listeners will be called with the following arguments:
    • this : Grid
    GridPanel \ No newline at end of file