[Users] radio group with treeloader filter
Robert Buckley
robertdbuckley at yahoo.com
Mon Mar 12 19:34:04 CET 2012
Hi,
Is it possible to filter the loader AND still apply the radiogroupnode?
var treeConfig = [{
nodeType: "gx_baselayercontainer",
hidden: true,
}, {
nodeType: "gx_overlaylayercontainer",
expanded: true,
loader: {
filter: function(record) { // filter according to layer name
return record.get("layer").name.indexOf("Layer") !== -1
baseAttrs: {
radioGroup: "infoLayers",
uiProvider: "layernodeui"
}
}
}];
something like the above?...this obviously doesn´t work!
yours,
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20120312/214e74d8/attachment.htm
More information about the Users
mailing list