view app/store/Mst.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.Mst', {
    extend: 'Ext.data.Store',
    fields: ['mstId'],
    proxy: {
        type: 'ajax',
        api: {
        read: 'server/rest/mst'
        },
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org