Mercurial > lada > lada-client
view app/model/Deskriptor.js @ 1241:fbbd623ea344
Added tag 2.4.0 for changeset 59cc259f7f21
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 01 Nov 2016 18:03:54 +0100 |
parents | f73ca04d73a7 |
children |
line wrap: on
line source
/** * */ Ext.define('Lada.model.Deskriptor', { extend: 'Ext.data.Model', /** * Fields are: * - ... */ fields: [{ name: 'bedeutung' }, { name: 'beschreibung' }, { name: 'ebene' }, { name: 'id' }, { name: 'sn' }, { name: 'sXx' }], idProperty: 'id', proxy: { type: 'rest', url: 'lada-server/rest/deskriptor', reader: { type: 'json', root: 'data', totalProperty: 'totalCount' } } });