[Users] Help with layer tree and radio buttons
Andreas Hocevar
ahocevar at opengeo.org
Wed Oct 28 22:08:29 CET 2009
Dan Ramage wrote:
> I must have had some parameter incorrect in the TreePanel, the filter
> function is now getting called.
>
Do you have something like
{
nodeType: "gx_layercontainer",
loader: {
filter: function(rec) {return true/false}
}
}
Regards,
Andreas.
>
> Dan
>
> -----Original Message-----
> From: Eric Lemoine [mailto:eric.lemoine at camptocamp.com]
> Sent: Wednesday, October 28, 2009 12:35 PM
> To: Dan Ramage
> Cc: Andreas Hocevar; users at geoext.org
> Subject: Re: [Users] Help with layer tree and radio buttons
>
> On Wed, Oct 28, 2009 at 4:05 PM, Dan Ramage <dan at inlet.geol.sc.edu> wrote:
>
>> When does the filter function get called? Is there something I have to do
>>
> to
>
>> force it to get called?
>>
>
> it is called when the loader's load method is called. You shouldn't
> have to do anything to get it called.
>
>
>
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Users
mailing list