how to mark an item as selected in a tree on contextmenu click


i want to select an item on context click ( right mousebutton ) before my context menu appears.

is this possible with vaadin?


Having a context menu (action handlers) for an item seems to disable click events for RMB. I can’t think of any way to work around that limitation, short of modifying the client-side implementation of the context menu.

There actually seems to be a
ticket #7327
for it. The ticket seems to mention couple of older forum threads about the issue. I’ll add a mention of also this one.