comparison app/view/grid/Nuklide.js @ 768:380edfecac67

changes on the margins, erratic behaviour is not fixed
author Dustin Demuth <dustin@intevation.de>
date Tue, 12 May 2015 15:07:23 +0200
parents 5ee59111b188
children a85069813d43
comparison
equal deleted inserted replaced
767:5ee59111b188 768:380edfecac67
21 minHeight: 150, 21 minHeight: 150,
22 viewConfig: { 22 viewConfig: {
23 deferEmptyText: false, 23 deferEmptyText: false,
24 markDirty: false //Remove Dirty-Flags 24 markDirty: false //Remove Dirty-Flags
25 }, 25 },
26 //margin: '0, 0, 5, 5', 26 margin: '0, 0, 5, 5',
27 27
28 recordId: null, 28 recordId: null,
29 allowDeselect: true,
29 30
30 initComponent: function() { 31 initComponent: function() {
31 var i18n = Lada.getApplication().bundle; 32 var i18n = Lada.getApplication().bundle;
32 this.emptyText = i18n.getMsg('emptytext.nuklidgrid'); 33 this.emptyText = i18n.getMsg('emptytext.nuklidgrid');
33 34
108 this.initData(); 109 this.initData();
109 this.callParent(arguments); 110 this.callParent(arguments);
110 }, 111 },
111 initData: function() { 112 initData: function() {
112 if (this.store) { 113 if (this.store) {
113 this.store.reload(); 114 this.store.removeAll();
114 } 115 }
115 }, 116 },
116 setData: function(store) { 117 setData: function(store) {
117 this.setLoading(true); 118 this.setLoading(true);
118 this.reconfigure(store); 119 this.reconfigure(store);

http://lada.wald.intevation.org