Mercurial > lada > lada-client
changeset 162:5eb0cfac0e30
Added nested id attribute which comes in JSON response to the model as we need
it later in the grid view to be able to acess messungsIs and probeId in the
custom renderer.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Wed, 03 Jul 2013 14:02:35 +0200 |
parents | 0b635b836903 |
children | 15318541e568 |
files | app/model/Messung.js |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/app/model/Messung.js Wed Jul 03 14:00:55 2013 +0200 +++ b/app/model/Messung.js Wed Jul 03 14:02:35 2013 +0200 @@ -1,6 +1,7 @@ Ext.define('Lada.model.Messung', { extend: 'Ext.data.Model', fields: [ + {name: "id"}, {name: "messungsId", mapping:"id.messungsId"}, {name: "probeId", mapping:"id.probeId"}, {name: "mmtId"},