Mercurial > lada > lada-client
view app/model/Deskriptor.js @ 1080:15d7b7a9e177
Override getValue for Netzbetreiber Combobox to allways return the correct
value.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 13 Apr 2016 16:10:25 +0200 |
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' } } });