Re: [flexcoders] Re: Tree component that doesn't display all nodes?

2007-04-13 Thread hosey hosey
Excellent, works great. Thank you. Hosey On 13 Apr 2007 05:38:14 -0700, Michael Schmalle <[EMAIL PROTECTED]> wrote: Hi, You could also write a custom dataDescriptor that subclasses DefaultDataDescriptor. In that class override the getChildren() method and only return the children you want

Re: [flexcoders] Re: Tree component that doesn't display all nodes?

2007-04-13 Thread Michael Schmalle
Hi, You could also write a custom dataDescriptor that subclasses DefaultDataDescriptor. In that class override the getChildren() method and only return the children you want based on the nodes you want filtered. Peace, Mike On 12 Apr 2007 22:22:04 -0700, dorkie dork from dorktown < [EMAIL PRO

Re: [flexcoders] Re: Tree component that doesn't display all nodes?

2007-04-12 Thread dorkie dork from dorktown
i see. what i would do is use a lazy loading mechanism. so you only display the top level branches. when the user opens a branch then you lazy load the child nodes. when the user opens the branch then you can get the node they opened and filter the node they opened of all the noshow nodes. // in

Re: [flexcoders] Re: Tree component that doesn't display all nodes?

2007-04-12 Thread hosey hosey
Thanks, I dont believe that can work. If the data is and I set the datasource=data.cb then the tree appears with hello and all of the following tags. if I set the datasource =data..cb then I get an XMLlist of all of the tags I need , but the first of which expands revealing

Re: [flexcoders] Re: Tree component that doesn't display all nodes?

2007-04-12 Thread dorkie dork from dorktown
if you use e4x format and regexp with your xml object then you can filter to show whatever data you want. i am not familiar with them enough to give you an example. note, you can also use regexp with xml. On 12 Apr 2007 15:30:51 -0700, hosey hosey <[EMAIL PROTECTED]> wrote: The main issue b

[flexcoders] Re: Tree component that doesn't display all nodes?

2007-04-12 Thread hosey hosey
The main issue being I want live data changes; such that if the xml changes a label the tree changes its label (this works on default tree component). There will be 400 nodes with 40 unwanted to be displayed nodes. On 4/12/07, hosey hosey <[EMAIL PROTECTED]> wrote: The datasource is