Hi All,

  I have a Tree Control and is backed by a ArrayCollection of Node
(custom) Class.

  And when i set the dataProvider and call the updateNow it doesn't
expand..(i have to manuallt expand the nodes..)


Here is the Code i am using..(I am initilaizing this on my init()
method..(creationComplete..)
[CODE]
modelTree.dataProvider = arrayCollection;
modelTree.validateNow();
modelTree.expandItem(this.contextNode,true,true,false,null);
modelTree.expandChildrenOf(this.contextNode,true);
modelTree.validateNow();
[/CODE]

 Is this because i am trying to expand the Root Node ?? 

Thanks
Kumar..

Reply via email to