Mercurial > lada > lada-client
comparison app/store/Messgroessen.js @ 739:efb1369a8cac
Enabled autocompletion for Messwerte in a Messung.
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Mon, 20 Apr 2015 14:11:39 +0200 |
parents | d47ee7439f44 |
children | 31eaed998531 |
comparison
equal
deleted
inserted
replaced
738:2db5d54a5685 | 739:efb1369a8cac |
---|---|
12 Ext.define('Lada.store.Messgroessen', { | 12 Ext.define('Lada.store.Messgroessen', { |
13 extend: 'Ext.data.Store', | 13 extend: 'Ext.data.Store', |
14 model: 'Lada.model.Messgroesse', | 14 model: 'Lada.model.Messgroesse', |
15 sorters: [{ | 15 sorters: [{ |
16 property: 'messgroesse', | 16 property: 'messgroesse', |
17 direction: 'ASC', | |
17 transform: function(val) { | 18 transform: function(val) { |
18 if (val) { | 19 if (val) { |
19 return val.toLowerCase(); | 20 return val.toLowerCase(); |
20 } | 21 } |
21 return ''; | 22 return ''; |