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.
Sub-menu/multi-level context menu - Vaadin Spreadsheet
Currently, is there any way to create a multi-level context menu for Vaadin Spreadsheet using the built-in ActionHandler framework?
It looks to me like this is not possible, and that I will have to implement my own context menu using the ContextMenu add-on. Is that correct?
As an example of what I'm talking about, if you right-click on a cell in Excel, the context menu includes "Filter" and "Sort" entries, which are submenus, not actions themselves. I want to do something similar.
As far as I know, that's correct. I'd like to point out that multi-level menus are generally considered quite poor usability, so do consider if you can present the options in some other manner.
-Olli
Yeah we're certainly trying to avoid it. There's no way to add horizontal separators either, is there?
I haven't looked into it, but my first thought would be to try to do it with styles.
-Olli