comparison app/store/Messmethoden.js @ 740:2e8da590ea0c

made Comboboces editable and filterable for; Messungenform: Messstelle,Datenbasis,Betriebsarts,Testdatensatz,Preobenart,Netzbetreiber Messungform: Messmethode Messwertegrid: Messgroesse,Messeinheit
author Dustin Demuth <dustin@intevation.de>
date Mon, 20 Apr 2015 16:07:40 +0200
parents d47ee7439f44
children b7484c7da2d4
comparison
equal deleted inserted replaced
739:efb1369a8cac 740:2e8da590ea0c
11 */ 11 */
12 Ext.define('Lada.store.Messmethoden', { 12 Ext.define('Lada.store.Messmethoden', {
13 extend: 'Ext.data.Store', 13 extend: 'Ext.data.Store',
14 model: 'Lada.model.Messmethode', 14 model: 'Lada.model.Messmethode',
15 sorters: [{ 15 sorters: [{
16 property: 'id',
17 direction: 'ASC'
18 },
19 {
16 property: 'messmethode', 20 property: 'messmethode',
21 direction: 'ASC',
17 transform: function(val) { 22 transform: function(val) {
18 if (val) { 23 if (val) {
19 return val.toLowerCase(); 24 return val.toLowerCase();
20 } 25 }
21 return ''; 26 return '';
22 } 27 }
23 }], 28 }],
24 autoLoad: true 29 autoLoad: true,
30 sortOnLoad: true
25 }); 31 });

http://lada.wald.intevation.org