[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Flex tree

Asked by rakesh16d in Adobe Flex, ActionScript

Tags: flex actionscript

Hi Experts,

I have a tree, the dataprovider of that tree is dynamic XML. what i am looking for is filtering the tree based on user input that will update the tree based on match
eg typing 'tw' should return all nodes with tw in it.
Thanks

here is the sample XML

      var dataXML:XML =
                        <root>
                  <node label="One" >
                     <node label="One" />
                    <node label="Two" />
                    <node label="Three">
                        <node label="One" />
                        <node label="Two" />
                    </node>
                    <node label="Four" />
                  </node>
                  <node label="Two" >
                     <node label="One" />
                    <node label="Two" />
                    <node label="Three">
                        <node label="One" />
                        <node label="Two" >
                            <node label="One" />
                                      <node label="Two" />
                                      <node label="Three">
                                          <node label="One" />
                                          <node label="Two" />
                                      </node>
                                      <node label="Four" />
                        </node>
                    </node>
                    <node label="Four" />
                  </node>
                  <node label="Three" />
                  <node label="Four">
                      <node label="One" />
                      <node label="Two" />
                      <node label="Three">
                          <node label="One" />
                          <node label="Two" />
                      </node>
                      <node label="Four" />
                  </node>
                  <node label="Five" />
                  <node label="Six" />
              </root>;
[+][-]11/05/09 03:55 PM, ID: 25755456Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/20/09 04:44 AM, ID: 25869728Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625