Mercurial > lada > lada-client
view app/model/Deskriptor.js @ 1292:317ae6bfd647
Clone button only activated if an ort has been selected in the grid
author | Maximilian Krambach <mkrambach@intevation.de> |
---|---|
date | Wed, 01 Feb 2017 18:54:31 +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' } } });