On Wednesday, June 23, 2010, François Boussuges <[email protected]> wrote: > Hello, > I have different WFS layers on my application and I seek a method to > make a dynamic store for my gridPanel. > My idea is when I select a layer (I can just select one layer in the > same time), my grid panel use a specific store of this layer, or the > store load an other dataset. > Have you an idea to create a variable with the active layer?
Hi. You can create one store and column model per WFS layer, and reconfigure the grid when a node is selected in the tree. IIRC GridPanel exposes an API for reconfiguring the grid. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
