Mercurial > lada > lada-client
comparison app/view/widgets/Netzbetreiber.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 | c05fda928b82 |
children | 5fbcbf330839 |
comparison
equal
deleted
inserted
replaced
259:d19ad9d28de5 | 260:70a1b5962930 |
---|---|
1 // Combobox for Netzbetreiber | 1 // Combobox for Netzbetreiber |
2 var netzbetreiberStore = Ext.create('Ext.data.Store', { | 2 var netzbetreiberStore = Ext.create('Ext.data.Store', { |
3 fields: ['netzbetreiberId', 'netzbetreiber'], | 3 fields: ['netzbetreiberId', 'netzbetreiber'], |
4 sorters: [{ | |
5 property: 'netzbetreiber', | |
6 }], | |
4 proxy: { | 7 proxy: { |
5 type: 'ajax', | 8 type: 'ajax', |
6 api: { | 9 api: { |
7 read: 'server/rest/netzbetreiber' | 10 read: 'server/rest/netzbetreiber' |
8 }, | 11 }, |