Feature Request Description
Currently ui5-table-row-action only supports single level menu on overflow. It would be nice to have a native option for adding submenus in table actions menu.
Proposed Solution
Allow nesting ui5-table-row-action in the same way as ui5-menu-item in this example to create multi-level menus. For instance, the snippet for "Open" action would be something like
<ui5-table-row-action slot="actions" text="Open" icon="open-folder">
<ui5-table-row-action text="Open Locally" icon="open-folder">
<ui5-table-row-action text="Open from C"></ui5-table-row-action>
<ui5-table-row-action text="Open from D"></ui5-table-row-action>
<ui5-table-row-action text="Open from E"></ui5-table-row-action>
</ui5-table-row-action>
<ui5-table-row-action text="Open from Cloud"></ui5-table-row-action>
</ui5-table-row-action>
Depending on how the first level action is displayed, the behaviour could be as follows:
- If action is displayed in overflow menu, then it should have a submenu arrow icon, and a second level submenu appears on hover. Exactly the same behaviour as ui5-menu-item, basically.
- If action is not moved to overflow menu and simply displayed as a button in the table, then clicking the button opens the second level submenu.
Proposed Alternatives
- Using ui5-menu and ui5-button directly to replicate ui5-table-row-action functionality
- Creating second level submenus separately and opening them on mouseenter or click
- Monkey patching ui5-table-row-action
- Give up on the submenus idea and have one single-level menu with lots of options.
Organization
No response
Additional Context
No response
Priority
No response
Privacy Policy
Feature Request Description
Currently ui5-table-row-action only supports single level menu on overflow. It would be nice to have a native option for adding submenus in table actions menu.
Proposed Solution
Allow nesting ui5-table-row-action in the same way as ui5-menu-item in this example to create multi-level menus. For instance, the snippet for "Open" action would be something like
Depending on how the first level action is displayed, the behaviour could be as follows:
Proposed Alternatives
Organization
No response
Additional Context
No response
Priority
No response
Privacy Policy