AIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Monday, April 16, 2007 1:10:59 PM
Subject: Re: [flexcoders] expand entire tree?
Hi Joshua,
try this:
var dp:XML = tree.dataProvider[ 0];
tree.openItems = dp..node;
Note that this code works for a dataprovider with a root node and with
&qu
Hi Joshua,
try this:
var dp:XML = tree.dataProvider[0];
tree.openItems = dp..node;
Note that this code works for a dataprovider with a root node and with
"node" as the nodenames.
regards,
Christophe
joshua gatcke schreef:
>
> Does anyone know how to expand a tree on initialize? I have tried t
Does anyone know how to expand a tree on initialize? I have tried the
following with no avail:
private function setPageListTree():void{
pageListTree.openItems(pageListTree.dataProvider.getItemAt(1));
pageListTree.expandItem(pageListTree.dataProvider.children(), true);
pa
3 matches
Mail list logo