[Users] GeoExt.data.WMSCapabilitiesStore question
Evans, Barry
be208 at exeter.ac.uk
Thu Nov 18 12:05:32 CET 2010
Hi there,
I am using the GeoExt.data.WMSCapabilitiesStore to display layer data contained within a namespace. The problem I have is that I now have too many layers within the grid which will overwhelm the user. Is it possible to apply a filter to the grid so that a user can only see layers, that for instance have a specific unique user ID? I see a similar feature in the layertree example in the geoext documentation and which is shown below but I cannot figure out similar process for grid panel.
Kind regards,
Barry
Email: be208 at exeter.ac.uk
Layertree filter example
loader: {
filter: function(record) {
return record.get("layer").name.indexOf("Tasmania") !== -1
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20101118/945c6984/attachment.htm
More information about the Users
mailing list