I have a problem with a tree or with more than one tree. In my Application i have on the left hand a navigation with tree´s. And if the user select a item on the left side will display the content. Thats works!
Now i have become the problem, that in every tree one selection will be stored. This problem i can resolved, because i will react on a click on the other table and set all tree to select(null). That works, too. Know my problem is, that the methode select(null) the blue selected cancel but there is a dotted border on the old selection and i found nothing to delete this dotted border.
For a better description i attach a screenshot.
There is no way to remove focus, just to grab it. To move the focus to a Vaadin component, call component.focus(). The Tree or Table does not currently support focusing a specific item.
When a tree item is focused, it gets the “v-tree-node-focused” style. It’s by default “border: 1px dotted black”. Just notice that making it invisible makes keyboard navigation and selection in the tree difficult.