4 * Copyright(c) 2006-2007, Ext JS, LLC.
6 * Originally Released Under LGPL - original licence link has changed is not relivant.
9 * <script type="text/javascript">
12 // private - not really -- you end up using it !
13 // This is a support class used internally by the Grid components
16 * @class Roo.grid.GridEditor
18 * Class for creating and editable grid elements.
19 * @param {Object} config any settings (must include field)
21 Roo.grid.GridEditor = function(field, config){
22 if (!config && field.field) {
24 field = Roo.factory(config.field, Roo.form);
26 Roo.grid.GridEditor.superclass.constructor.call(this, field, config);
27 field.monitorTab = false;
30 Roo.extend(Roo.grid.GridEditor, Roo.Editor, {
33 * @cfg {Roo.form.Field} field Field to wrap (or xtyped)
39 cls: "x-small-editor x-grid-editor",