You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.grid.contextmenu.

Class GridSubMenu<T>

java.lang.Object
com.vaadin.flow.component.contextmenu.SubMenuBase<GridContextMenu<T>,GridMenuItem<T>,GridSubMenu<T>>
com.vaadin.flow.component.grid.contextmenu.GridSubMenu<T>

All Implemented Interfaces:

Serializable

public class GridSubMenu<T> extends SubMenuBase<GridContextMenu<T>,GridMenuItem<T>,GridSubMenu<T>>

API that allows adding content into the sub menus of a GridContextMenu to create hierarchical menus. Get it by calling MenuItemBase.getSubMenu() on the item component that should open the sub menu. Sub menu will be rendered only if content has been added inside it.

Author:

Vaadin Ltd.

See Also: