view app/model/Query.js @ 238:2a23fcca8ead

On Default the proben list will have no columns at all. The are added dynamically later when the user selects a search query.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 11:29:37 +0200
parents 78134e20e62d
children 7097182150d9
line wrap: on
line source
Ext.define('Lada.model.Query', {
    extend: 'Ext.data.Model',
    fields: [
        {name: "id"},
        {name: "name"},
        {name: "description"},
        {name: "sql"},
        {name: "fields"},
    ],
    proxy: {
        type: 'memory',
        reader: {
            type: 'json'
        }
    }
});

http://lada.wald.intevation.org