comparison app/view/widgets/Datenbasis.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 Datenbasis 1 // Combobox for Datenbasis
2 var datenbasisStore = Ext.create('Ext.data.Store', { 2 var datenbasisStore = Ext.create('Ext.data.Store', {
3 fields: ['datenbasisId', 'beschreibung', 'datenbasis'], 3 fields: ['datenbasisId', 'beschreibung', 'datenbasis'],
4 sorters: [{
5 property: 'datenbasis',
6 }],
4 proxy: { 7 proxy: {
5 type: 'ajax', 8 type: 'ajax',
6 api: { 9 api: {
7 read: 'server/rest/datenbasis' 10 read: 'server/rest/datenbasis'
8 }, 11 },

http://lada.wald.intevation.org