Mercurial > lada > lada-client
view app/store/Netzbetreiber.js @ 100:8356595f4fdb
Changed store. Elements are in thate data attribute. Build custom id
attribute.
author | Torsten Irländer <torsten@irlaender.de> |
---|---|
date | Mon, 17 Jun 2013 13:24:06 +0200 |
parents | ab067fdb91b5 |
children |
line wrap: on
line source
Ext.define('Lada.store.Netzbetreiber', { extend: 'Ext.data.Store', fields: ['netzbetreiberId', 'netzbetreiber'], proxy: { type: 'ajax', api: { read: 'server/rest/netzbetreiber' }, reader: { type: 'json', root: 'data' } } });