comparison app/controller/Filter.js @ 1049:1bd4c0709bd6 stammdatengrids

Working version of selectable 'ort' in map and grid.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 01 Mar 2016 11:50:39 +0100
parents 1df6b6210b42
children 981339d774b8
comparison
equal deleted inserted replaced
1028:2e7adc19b4fe 1049:1bd4c0709bd6
300 store = Ext.create(sname); 300 store = Ext.create(sname);
301 } 301 }
302 if (store) { 302 if (store) {
303 store.addListener('beforeload', this.loadingAnimationOn, resultGrid); 303 store.addListener('beforeload', this.loadingAnimationOn, resultGrid);
304 store.addListener('load', this.loadingAnimationOff, resultGrid); 304 store.addListener('load', this.loadingAnimationOff, resultGrid);
305 if (type === 'ort') {
306 var panel = resultGrid.up('ortpanel');
307 store.addListener('load', panel.down('map').addLocations, panel.down('map'));
308 panel.connectListeners();
309 }
305 310
306 resultGrid.setStore(store); 311 resultGrid.setStore(store);
307 //TODO: Check if this is still necessary, as a Grid exists 312 //TODO: Check if this is still necessary, as a Grid exists
308 // for each Type. 313 // for each Type.
309 314

http://lada.wald.intevation.org