[Users] GeoExt.data.WMSCapabilitiesStore question

geographika geographika at gmail.com
Thu Nov 18 13:07:40 CET 2010


There is a filter property on the store class from which 
GeoExt.data.WMSCapabilitiesStore inherits.

http://dev.sencha.com/deploy/dev/docs/?class=Ext.data.Store


On 18/11/2010 12:05, Evans, Barry wrote:
>
> 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
>
>         }
>
>     }
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20101118/8c4b89b1/attachment.htm 


More information about the Users mailing list