X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/CellEditor.html diff --git a/docs/source/CellEditor.html b/docs/source/CellEditor.html index c895bbd7..a39b9e38 100644 --- a/docs/source/CellEditor.html +++ b/docs/source/CellEditor.html @@ -3,8 +3,8 @@ The source code - - + + @@ -24,13 +24,17 @@ Ext.define('Ext.grid.CellEditor', { extend: 'Ext.Editor', constructor: function(config) { + config = Ext.apply({}, config); + if (config.field) { config.field.monitorTab = false; } - config.autoSize = { - width: 'boundEl' - }; - this.callParent(arguments); + if (!Ext.isDefined(config.autoSize)) { + config.autoSize = { + width: 'boundEl' + }; + } + this.callParent([config]); }, /**