You should be able to call expandItem regardless of the state of the
children.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of vitorinomarlene
Sent: Thursday, March 13, 2008 5:40 AM
To: [email protected]
Subject: [flexcoders] Tree ItemClose

 

Hello,
I'm trying to acomplish the following tree behavior:
A tree node can only be closed if their children are leafs or if their
children are closed. I've added handlers for itemClose, and through
the event.item i can acces the node data (the xml data of the closed
item), but i don't know how to check wether the corresponding tree
node has children and if these children are open or closed. Thank you
very much

 

Reply via email to