FLEX TREE

12 views
Skip to first unread message

DIbya Nayak

unread,
Jun 13, 2013, 5:37:44 AM6/13/13
to flex_...@googlegroups.com
I have a tree structure and i have rendered a checkbox for each tree item so when the checkbox is clicked my corresponding node value that is label of the node gets populated in my textarea. My tree is in a pop up window.so when i clicked the popup button i want that depending upon of my textarea values my tree in the popup should also get checked .
 
if i have "adam" in my textarea then my adam  node in my xml tree should also get checked  meaning my checkbox will get selected.
 
 
 
Thanks in advance
Dibya.
 

gs reddy

unread,
Jun 13, 2013, 6:25:38 AM6/13/13
to flex_...@googlegroups.com
Add a state variable to XML nodes and bind the checkbox checked property with the state variable. As and when you change the text area entry you change the state value in xml and provide the updated xml as dataprovider to tree

Cheers,
Saidi

Dibya.
 

--
You received this message because you are subscribed to the Google Groups "Flex India Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flex_india+...@googlegroups.com.
To post to this group, send email to flex_...@googlegroups.com.
Visit this group at http://groups.google.com/group/flex_india?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages