raimund@1110: /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
raimund@1110:  * Software engineering by Intevation GmbH
raimund@1110:  *
raimund@1110:  * This file is Free Software under the GNU GPL (v>=3)
raimund@1110:  * and comes with ABSOLUTELY NO WARRANTY! Check out
raimund@1110:  * the documentation coming with IMIS-Labordaten-Application for details.
raimund@1110:  */
raimund@1110: 
raimund@1110: Ext.define('Lada.override.RowExpander', {
raimund@1110:     override: 'Ext.grid.plugin.RowExpander',
raimund@1110:     beforeReconfigure: function (grid, store, columns, oldStore, oldColumns) {
raimund@1110:         var expander = this.getHeaderConfig();
raimund@1110:         expander.locked = true;
raimund@1110:         if (columns) {
raimund@1110:             columns.unshift(expander);
raimund@1110:         }
raimund@1110:     }
raimund@1110: });