X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..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 53c58741..28bbff5f 100644 --- a/docs/output/Ext.grid.EditorGridPanel.html +++ b/docs/output/Ext.grid.EditorGridPanel.html @@ -1,555 +1,196 @@ -
-
- 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
-
- * -

This class extends the GridPanel to provide cell editing on selected columns.

-The editable columns are specified by providing an editor -in the column configuration.

+
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 -of isCellEditable into your ColumnModel.

+of isCellEditable into the +ColumnModel.

Editing is performed on the value of the field specified by the column's -dataIndex in the backing Store -(so if you are using a renderer in order to display +dataIndex in the backing Store +(so if you are using a renderer in order to display transformed data, this must be accounted for).

-

If a value-to-description mapping is used to render a column, then a {Ext.form.Field#ComboBox ComboBox} -which uses the same value-to-description +

If a value-to-description mapping is used to render a column, then a ComboBox +which uses the same value-to-description mapping would be an appropriate editor.

If there is a more complex mismatch between the visible data in the grid, and the editable data in -the Store, then code to transform the data both before and after editing can be -injected using the beforeedit and afteredit events.
- -
- -

Config Options

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Config OptionsDefined By
  - - allowDomMove : Boolean
- Whether the component can move the Dom node when rendering (defaults to true).
-
Component
  - - 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 id can not be 0.
-
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
  - - baseCls : String
- The base CSS class to apply to this panel's element (defaults to 'x-panel').
-
Panel
  - - buttonAlign : String
- The alignment of any buttons added to this panel. Valid values are 'right,' 'left' and 'center' (defaults to 'right').
-
Panel
  - - buttons : Array
- An array of Ext.Buttons or Ext.Button configs used to add buttons to the footer of this panel.
-
Panel
  - - cm : Object
- Shorthand for colModel.
-
GridPanel
  - - colModel : Object
- The Ext.grid.ColumnModel to use when rendering the grid (required).
-
GridPanel
  - - collapsed : Boolean
- True to render the panel collapsed, false to render it expanded (defaults to 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
  - - columns : Array
- An array of columns to auto create a ColumnModel
-
GridPanel
  - - deferRowRender : Boolean
- True to enable deferred row rendering. Default is true.
-
GridPanel
  - - disableSelection : Boolean
- True to disable selections in the grid (defaults to false). - ignored if a SelectionModel is specified
-
GridPanel
  - - 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
\ No newline at end of file