view app/model/Query.js @ 241:4ca858026191

If the user selects a search query add call setupColumns method to dynamically add columns to the table as defined in the searach query.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 23 Jul 2013 11:31:47 +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