view app/model/Query.js @ 426:c95c9831675c

Set flex to true for the probenlist. Remove minheigt and maxheigt from panel as the size is now set automatically (flex)
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 08 Nov 2013 12:32:59 +0100
parents 6964cd97d35f
children f9bb1ecf6462
line wrap: on
line source
/**
 * Model class for SQL-Querys
 */
Ext.define('Lada.model.Query', {
    extend: 'Lada.model.Base',
    fields: [
        {name: "id"},
        {name: "name"},
        {name: "description"},
        {name: "sql"},
        {name: "results"},
        {name: "filters"},
    ],
    proxy: {
        type: 'rest',
        url: 'server/rest/query',
        reader: {
            type: 'json',
            root: 'data'
        }
    }
});

http://lada.wald.intevation.org