focus one item in a tree

Hi.
Sorry for my english.
I need help for handle a tree:
how i do for have to focus one item in a tree without starting the associated behaviour (valueChange)?

The tree.setValue(…) and tree.select(…) methods call the valueChange(ValueChangeEvent event) method. There is a method that does not?

No not really. A value change causes always a ValueChangeEvent. There are some workarounds that you can do to go around this. you could call removeListener() before select() and addListener after it. Another option is to add a boolean field in your class and do update = false; setValue(object); update=true;, and in the value change listener’s code you would put all the code into a if(update) { … } -clause.

Ok. Thank you for options. I think the second option to implement or change the listener with a ItemClickListener