Ok, things seem to work. sort of. I made the itemRenderer of the tree 
my custom component and YES, my tree nodes are now my custom 
components, which actually pop up and let you build your query. Is 
there a property that I need to be setting in my custom component so 
that the tree can figure out what the "value" of that node is (the 
query term)? Also, is there a way to set things so that the root of 
the tree is just a label (as in AND for my query operator)...

Thanks for any help!

Christine


--- In [email protected], "tinkiknit" <[EMAIL PROTECTED]> wrote:
>
> Thanks! I shall give it a try...
> 
> christine
> --- In [email protected], "Michael Schmalle" 
> <teoti.graphix@> wrote:
> >
> > Yes,
> > 
> > Look at the itemRenderer property of the Tree. It's exactly what 
> you want.
> > 
> > You might also check out dataDescriptiors if your model is 
> complicated and
> > you want to extend the tree using your custom component
> > children(itemRenderer) and model.
> > 
> > Peace, Mike
> > 
> > On 2/8/07, tinkiknit <thepanda1@> wrote:
> > >
> > >   Hello...
> > >
> > > Here is my idea. I'm working on a query tool for a simple data
> > > repository. I have 3 operators, AND, OR and NOT. What I would 
> like to
> > > do is use a tree control to form the queries.
> > >
> > > Example in rudimentary text drawing:
> > >
> > > AND
> > > |
> > > - query term
> > > |
> > > - query term
> > > +
> > >
> > > (the plus sign is to open up a new term builder (this is my 
custom
> > > component, already coded)
> > >
> > > Is it possible to have custom components as the children of a 
tree
> > > node? ie to have them as leaves?
> > >
> > > Tried to search the archive for this but I don't think I had a 
> decent
> > > search query to come up with anything...
> > >
> > > Thanks for any help!
> > >
> > > Christine
> > >
> > >  
> > >
> > 
> > 
> > 
> > -- 
> > Teoti Graphix
> > http://www.teotigraphix.com
> > 
> > Blog - Flex2Components
> > http://www.flex2components.com
> > 
> > You can find more by solving the problem then by 'asking the 
> question'.
> >
>


Reply via email to