Mercurial > lada > lada-client
diff 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 |
line wrap: on
line diff
--- a/app/store/ProbeQueries.js Tue Apr 28 11:53:39 2015 +0200 +++ b/app/store/ProbeQueries.js Tue Apr 28 16:03:59 2015 +0200 @@ -12,5 +12,13 @@ Ext.define('Lada.store.ProbeQueries', { extend: 'Ext.data.Store', model: 'Lada.model.Query', - autoLoad: true + autoLoad: true, + proxy: { + type: 'rest', + url: 'lada-server/query/probe', + reader: { + type: 'json', + root: 'data' + } + } });