[Users] Dynamic fields in FeatureStore
gbrun
gbrun at myopera.com
Mon Jul 25 16:14:55 CEST 2011
Hi!
I found a talk about dynamic fields displayed in FeatureStore and
GridPanel from last summer :
http://www.mail-archive.com/users@geoext.org/msg00341.html
I want to do exactly the same thing. I have a lot of WFS layers and I want
to display their attributes data dynamically. So, I found a function
allowing to reconfigure the store each time I need. But now, I need to
find a method allowing to request each field provided by my WFS layer, and
then apply it to the related store.
featureStore = new GeoExt.data.FeatureStore({
layer: currentLayer,
fields: the future dynamic fields
});
The "currentLayer" always comes from a DescribeFeatureType request. So I
can use dynamically some predefined fields like "fid", "state" and
"feature". Does anyone have an idea how is it possible to extend default
fields?
Geoffrey
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
More information about the Users
mailing list