X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs.old%2Fsymbols%2Fsrc%2FRoo_grid_GridEditor.js.html;fp=docs.old%2Fsymbols%2Fsrc%2FRoo_grid_GridEditor.js.html;h=78d582038c0a622f0366a05f553f47bdcf8e2c05;hp=0000000000000000000000000000000000000000;hb=c1c0168c0e693c4262f3f744a82419f9d9b1807f;hpb=b282409b66344f6d0ff1999b55639cfd80097128 diff --git a/docs.old/symbols/src/Roo_grid_GridEditor.js.html b/docs.old/symbols/src/Roo_grid_GridEditor.js.html new file mode 100644 index 0000000000..78d582038c --- /dev/null +++ b/docs.old/symbols/src/Roo_grid_GridEditor.js.html @@ -0,0 +1,42 @@ +../roojs1/Roo/grid/GridEditor.js/* + * Based on: + * Ext JS Library 1.1.1 + * Copyright(c) 2006-2007, Ext JS, LLC. + * + * Originally Released Under LGPL - original licence link has changed is not relivant. + * + * Fork - LGPL + * <script type="text/javascript"> + */ + +// private - not really -- you end up using it ! +// This is a support class used internally by the Grid components + +/** + * @class Roo.grid.GridEditor + * @extends Roo.Editor + * Class for creating and editable grid elements. + * @param {Object} config any settings (must include field) + */ +Roo.grid.GridEditor = function(field, config){ + if (!config && field.field) { + config = field; + field = Roo.factory(config.field, Roo.form); + } + Roo.grid.GridEditor.superclass.constructor.call(this, field, config); + field.monitorTab = false; +}; + +Roo.extend(Roo.grid.GridEditor, Roo.Editor, { + + /** + * @cfg {Roo.form.Field} field Field to wrap (or xtyped) + */ + + alignment: "tl-tl", + autoSize: "width", + hideEl : false, + cls: "x-small-editor x-grid-editor", + shim:false, + shadow:"frame" +}); \ No newline at end of file