comparison app/override/RowExpander.js @ 1110:4a55e665f2d1

Added custom row expander for 'grid in grid' expandable rows.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 17 May 2016 17:10:39 +0200
parents
children
comparison
equal deleted inserted replaced
1109:05948135ce75 1110:4a55e665f2d1
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU GPL (v>=3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6 * the documentation coming with IMIS-Labordaten-Application for details.
7 */
8
9 Ext.define('Lada.override.RowExpander', {
10 override: 'Ext.grid.plugin.RowExpander',
11 beforeReconfigure: function (grid, store, columns, oldStore, oldColumns) {
12 var expander = this.getHeaderConfig();
13 expander.locked = true;
14 if (columns) {
15 columns.unshift(expander);
16 }
17 }
18 });

http://lada.wald.intevation.org