Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Tree click work like a right-click for some Item nodes
I have a Tree working fine with Actions defined on various Item nodes to handle a right-click with its popup context menu showing those Actions.
Is there a way for me to specify that a given Item/node should work the same way when it's just a regular click? That is, I'd like the regular click to also open the popup context menu showing the Actions defined for it. (I don't want all clicks to work like a right click, but only some -- in my case it's the parent nodes that have children nodes that I'd like to do this).
Is this possible? I'd rather not ignore or display a message on a click and just do the same thing as if they right-clicked the item.
Thanks...
If I can't make the regular click open up the Actions popup like a right click, is there a programmatic way to trigger a right-click on the same item?