Problem with ItemClick in the Tree Component

Hello Guys,

I have a problem with the Tree Component. If I click a Item the first time, it is highlighted and everything is fine. If I then click on another item the newly clicked is not highlighted. Instead of this the old one is still highlighted. And from now on a item is selected after I clicked on another item. So to highlight a specific item, I had to click on it two times.

Is there any solution for this?

Thanks for replies. :slight_smile:

I found the solution. I just had to do the following: setSelectable(false);