[Users] Ext.grid.GridPanel and GeoExt.data.WMSCapabilitiesStore reload data
Mario Nuñez Jimenez
mario.nunez at atosresearch.eu
Fri May 21 13:28:37 CEST 2010
I already did it but not in a good way.
I made a new store and a new gris, then I set the store into the gris and then I have to manage with refreshing the panel containing the gris but I dont want to do it this way.
What I am trying is to update the store only changing the url and also refresh the gris to show the new data... is not posible?
-----Original Message-----
From: Eric Lemoine [mailto:eric.lemoine at camptocamp.com]
Sent: viernes, 21 de mayo de 2010 13:15
To: Mario Nuñez Jimenez
Cc: users at geoext.org
Subject: Re: [Users] Ext.grid.GridPanel and GeoExt.data.WMSCapabilitiesStore reload data
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
------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended
solely for the addressee; it may also be privileged. If you receive
this e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin
group liability cannot be triggered for the message content. Although
the sender endeavours to maintain a computer virus-free network,
the sender does not warrant that this transmission is virus-free and
will not be liable for any damages resulting from any virus transmitted.
Este mensaje y los ficheros adjuntos pueden contener informacion confidencial
destinada solamente a la(s) persona(s) mencionadas anteriormente
pueden estar protegidos por secreto profesional.
Si usted recibe este correo electronico por error, gracias por informar
inmediatamente al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin
no se hace responsable por su contenido. Su contenido no constituye ningun
compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes.
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
no puede garantizar nada al respecto y no sera responsable de cualesquiera
danos que puedan resultar de una transmision de virus.
------------------------------------------------------------------
More information about the Users
mailing list