You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
479 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. This file is part of Ext JS 3.4
  3. Copyright (c) 2011-2013 Sencha Inc
  4. Contact: http://www.sencha.com/contact
  5. GNU General Public License Usage
  6. This file may be used under the terms of the GNU General Public License version 3.0 as
  7. published by the Free Software Foundation and appearing in the file LICENSE included in the
  8. packaging of this file.
  9. Please review the following information to ensure the GNU General Public License version 3.0
  10. requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  11. If you are unsure which license is appropriate for your use, please contact the sales department
  12. at http://www.sencha.com/contact.
  13. Build date: 2013-04-03 15:07:25
  14. */
  15. Ext.data.JsonP.Ext_grid_EditorGridPanel({"alternateClassNames":[],"aliases":{"widget":["editorgrid"]},"enum":null,"parentMixins":[],"tagname":"class","subclasses":["Ext.grid.PropertyGrid"],"extends":"Ext.grid.GridPanel","uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Ext.util.Observable' rel='Ext.util.Observable' class='docClass'>Ext.util.Observable</a><div class='subclass '><a href='#!/api/Ext.Component' rel='Ext.Component' class='docClass'>Ext.Component</a><div class='subclass '><a href='#!/api/Ext.BoxComponent' rel='Ext.BoxComponent' class='docClass'>Ext.BoxComponent</a><div class='subclass '><a href='#!/api/Ext.Container' rel='Ext.Container' class='docClass'>Ext.Container</a><div class='subclass '><a href='#!/api/Ext.Panel' rel='Ext.Panel' class='docClass'>Ext.Panel</a><div class='subclass '><a href='#!/api/Ext.grid.GridPanel' rel='Ext.grid.GridPanel' class='docClass'>Ext.grid.GridPanel</a><div class='subclass '><strong>Ext.grid.EditorGridPanel</strong></div></div></div></div></div></div></div><h4>Subclasses</h4><div class='dependency'><a href='#!/api/Ext.grid.PropertyGrid' rel='Ext.grid.PropertyGrid' class='docClass'>Ext.grid.PropertyGrid</a></div><h4>Files</h4><div class='dependency'><a href='source/EditorGrid.html#Ext-grid-EditorGridPanel' target='_blank'>EditorGrid.js</a></div></pre><div class='doc-contents'><p>This class extends the <a href=\"#!/api/Ext.grid.GridPanel\" rel=\"Ext.grid.GridPanel\" class=\"docClass\">GridPanel Class</a> to provide cell editing\non selected <a href=\"#!/api/Ext.grid.Column\" rel=\"Ext.grid.Column\" class=\"docClass\">columns</a>. The editable columns are specified by providing\nan editor in the <a href=\"#!/api/Ext.grid.Column\" rel=\"Ext.grid.Column\" class=\"docClass\">column configuration</a>.</p>\n\n\n<p>Editability of columns may be controlled programatically by inserting an implementation\nof <a href=\"#!/api/Ext.grid.ColumnModel-method-isCellEditable\" rel=\"Ext.grid.ColumnModel-method-isCellEditable\" class=\"docClass\">isCellEditable</a> into the\n<a href=\"#!/api/Ext.grid.ColumnModel\" rel=\"Ext.grid.ColumnModel\" class=\"docClass\">ColumnModel</a>.</p>\n\n\n<p>Editing is performed on the value of the <i>field</i> specified by the column's\n<tt>dataIndex</tt> in the backing <a href=\"#!/api/Ext.data.Store\" rel=\"Ext.data.Store\" class=\"docClass\">Store</a>\n(so if you are using a <a href=\"#!/api/Ext.grid.ColumnModel-method-setRenderer\" rel=\"Ext.grid.ColumnModel-method-setRenderer\" class=\"docClass\">renderer</a> in order to display\ntransformed data, this must be accounted for).</p>\n\n\n<p>If a value-to-description mapping is used to render a column, then a ComboBox\nwhich uses the same value-to-description\nmapping would be an appropriate editor.</p>\n\n\n<p>If there is a more complex mismatch between the visible data in the grid, and the editable data in\nthe Store, then code to transform the data both before and after editing can be\ninjected using the <a href=\"#!/api/Ext.grid.EditorGridPanel-event-beforeedit\" rel=\"Ext.grid.EditorGridPanel-event-beforeedit\" class=\"docClass\">beforeedit</a> and <a href=\"#!/api/Ext.grid.EditorGridPanel-event-afteredit\" rel=\"Ext.grid.EditorGridPanel-event-afteredit\" class=\"docClass\">afteredit</a> events.</p>\n</div><div class='members'><div class='members-section'><div class='definedBy'>Defined By</div><h3 class='members-title icon-cfg'>Config options</h3><div class='subsection'><div id='cfg-anchor' class='member first-child inherited'><a href='#' class='side expandable'><span>&nbsp;</span></a><div class='title'><div class='meta'><a href='#!/api/Ext.BoxComponent' rel='Ext.BoxComponent' class='defined-in docClass'>Ext.BoxComponent</a><br/><a href='source/BoxComponent.html#Ext-BoxComponent-cfg-anchor' target='_blank' class='view-source'>view source</a></div><a href='#!/api/Ext.BoxComponent-cfg-anchor' class='name expandable'>anchor</a><span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span></div><div class='description'><div