X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6746dc89c47ed01b165cc1152533605f97eb8e8d..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/src/grid/RowEditor.js diff --git a/src/grid/RowEditor.js b/src/grid/RowEditor.js index 18fe4fb9..0cd09263 100644 --- a/src/grid/RowEditor.js +++ b/src/grid/RowEditor.js @@ -442,7 +442,9 @@ Ext.define('Ext.grid.RowEditor', { // Maintain mapping of fields-to-columns // This will fire events that maintain our container items me.columns.add(field.id, column); - + if (column.hidden) { + me.onColumnHide(column); + } if (me.isVisible() && me.context) { me.renderColumnData(field, me.context.record); } @@ -506,8 +508,8 @@ Ext.define('Ext.grid.RowEditor', { /** * Start editing the specified grid at the specified position. - * @param {Model} record The Store data record which backs the row to be edited. - * @param {Model} columnHeader The Column object defining the column to be edited. + * @param {Ext.data.Model} record The Store data record which backs the row to be edited. + * @param {Ext.data.Model} columnHeader The Column object defining the column to be edited. */ startEdit: function(record, columnHeader) { var me = this,