Mercurial > lada > lada-client
comparison app/store/ProbeQueries.js @ 751:704bb359c0fe
dynamically exchange the store of the resultfiltergrid
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Tue, 28 Apr 2015 16:03:59 +0200 |
parents | 344330d3d1cd |
children | f73ca04d73a7 |
comparison
equal
deleted
inserted
replaced
750:561ade69980e | 751:704bb359c0fe |
---|---|
10 * Store for Queries | 10 * Store for Queries |
11 */ | 11 */ |
12 Ext.define('Lada.store.ProbeQueries', { | 12 Ext.define('Lada.store.ProbeQueries', { |
13 extend: 'Ext.data.Store', | 13 extend: 'Ext.data.Store', |
14 model: 'Lada.model.Query', | 14 model: 'Lada.model.Query', |
15 autoLoad: true | 15 autoLoad: true, |
16 proxy: { | |
17 type: 'rest', | |
18 url: 'lada-server/query/probe', | |
19 reader: { | |
20 type: 'json', | |
21 root: 'data' | |
22 } | |
23 } | |
16 }); | 24 }); |