[Users] Ext.grid.GridPanel and GeoExt.data.WMSCapabilitiesStore reload data
Eric Lemoine
eric.lemoine at camptocamp.com
Fri May 21 13:15:07 CEST 2010
2010/5/21 Mario Nuñez Jimenez <mario.nunez at atosresearch.eu>:
> Hello list,
>
> I am using a gridPanel populated with a GeoExt.data.WMSCapabilitiesStore and
> it is already working, the store is configured with a WMS URL but I want to
> change the url taking it from a form and have the grid updated with the new
> WMS capabilities information but I dont know how to do it, may anyone help
> with this?
Try setting a new URL in the proxy used in the wms caps store:
store.proxy.setUrl(newUrl, true);
store.load();
>
>
>
> Now I am creating a new store and loading it in my gridPanel but I cant
> refresh or update it in order to view the capabilities data… my grid doesnt
> update with the new data.
Yes, I'm not sure you can change a grid's store.
Hope it helps,
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Users
mailing list