diff 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
line wrap: on
line diff
--- a/app/store/Messmethoden.js	Mon Apr 20 14:11:39 2015 +0200
+++ b/app/store/Messmethoden.js	Mon Apr 20 16:07:40 2015 +0200
@@ -13,7 +13,12 @@
     extend: 'Ext.data.Store',
     model: 'Lada.model.Messmethode',
     sorters: [{
+        property: 'id',
+        direction: 'ASC'
+    },
+    {
         property: 'messmethode',
+        direction: 'ASC',
         transform: function(val) {
             if (val) {
                 return val.toLowerCase();
@@ -21,5 +26,6 @@
             return '';
         }
     }],
-    autoLoad: true
+    autoLoad: true,
+    sortOnLoad: true
 });

http://lada.wald.intevation.org