How can I add Sub-Menu to context menu?

Hi,

I would like to know if it is possible in cuba to define a sub menu in context menu, as we have it like in windows right click. I know that context menu shows a list of actions, but is it possible to give a list of actions to an action as sub actions and show them in context menu like in scrennshot?

Screenshot 2021-06-28 110251

Hi @farnoush.mobarakeh and welcome to the forum,

I think with only using Cuba it is not possible. At least I have never seen it.

But it seems to be possible by directly interacting with the Vaadin component: Vaadin ContextMenu | Vaadin

Perhaps you find something there.
Cheers
Mario

Hi, thank you.