view app/store/Testdatensatz.js @ 57:982f3130e7f3

Added idProperty to "id" which is the default anyway. Removed api definition and added kId field to the model.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 29 May 2013 15:19:56 +0200
parents 792c34b3f5a9
children
line wrap: on
line source
Ext.define('Lada.store.Testdatensatz', {
    extend: 'Ext.data.Store',
    fields: ['testdatensatzId', 'testdatensatz'],
    autoLoad: true,
    data: [
        {"testdatensatzId":true, "testdatensatz":"Ja"},
        {"testdatensatzId":false, "testdatensatz":"Nein"}
    ]
});

http://lada.wald.intevation.org