Mercurial > lada > lada-client
annotate app/store/Ortedetails.js @ 374:832e3c8f9191
Implemented dynamic ProbelList model. The model will get initialized by the
fields configured in the sql configuration.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 20 Aug 2013 16:50:47 +0200 |
parents | 39297b8e5ba2 |
children | f9bb1ecf6462 |
rev | line source |
---|---|
337
39297b8e5ba2
Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
260
diff
changeset
|
1 /** |
39297b8e5ba2
Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
260
diff
changeset
|
2 * Store for Ortedetails |
39297b8e5ba2
Added docstring
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
260
diff
changeset
|
3 */ |
153
e9fb4814153a
Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
4 Ext.define('Lada.store.Ortedetails', { |
e9fb4814153a
Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
5 extend: 'Ext.data.Store', |
e9fb4814153a
Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
6 model: 'Lada.model.Ortdetail', |
260
70a1b5962930
Issue50: Added sorting on the most stores.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
153
diff
changeset
|
7 sorters: [{ |
70a1b5962930
Issue50: Added sorting on the most stores.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
153
diff
changeset
|
8 property: 'bezeichnung', |
70a1b5962930
Issue50: Added sorting on the most stores.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
153
diff
changeset
|
9 }], |
153
e9fb4814153a
Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
10 autoLoad: true |
e9fb4814153a
Added files for Staat, Ort and Verwaltungseinheiten.
Torsten Irländer <torsten.irlaender@intevation.de>
parents:
diff
changeset
|
11 }); |