comparison app/view/widgets/Messmethode.js @ 260:70a1b5962930

Issue50: Added sorting on the most stores.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 25 Jul 2013 15:39:15 +0200
parents c53f3110852e
children 1375ff0f248d
comparison
equal deleted inserted replaced
259:d19ad9d28de5 260:70a1b5962930
1 // Combobox for Messmethode 1 // Combobox for Messmethode
2 var mmtStore = Ext.create('Ext.data.Store', { 2 var mmtStore = Ext.create('Ext.data.Store', {
3 fields: ['mmtId', 'messmethhode'], 3 fields: ['mmtId', 'messmethhode'],
4 sorters: [{
5 property: 'mmtId',
6 }],
4 proxy: { 7 proxy: {
5 type: 'ajax', 8 type: 'ajax',
6 api: { 9 api: {
7 read: 'server/rest/messmethode' 10 read: 'server/rest/messmethode'
8 }, 11 },

http://lada.wald.intevation.org