views:

119

answers:

2

I got how to implement a TreeField. But how to implement a searchable TreeField?

A: 

I would say to implement something like List with checkbox along with search criteria

So you have vector of TreeField controls, each has some text value, on enter text you walk through all vector and on first equality focus a field.

Max Gontar
Thanks. I ll go thr it.
Shreyas
You're welcome!
Max Gontar
A: 

Try simply to add a editField and a treefield and add a changeListener to the editField. When it changes (write a char) you repopulate the treefield... that is the easiest way. I assume you have the date where you populate the treefield previously, so now must to select only those who meets the criteria..

Alex