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: [email protected]

Layertree filter example

loader: {

        filter: function(record) {

            return record.get("layer").name.indexOf("Tasmania") !== -1

        }

    }


_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to