How to dynamically show sub menu based on menu name?

Posted by: vinay.thakoor on 12 August 2020, 6:24 am EST

  • Posted 12 August 2020, 6:24 am EST

    I have a requirement in which I want to load submenu in the menu dynamically based on the menu. The menu on right-click are added dynamically so I don’t know which submenu list will show in sub-menu. Is there any way to call API on the hover of that menu? So I can dynamically add submenu.

  • Posted 13 August 2020, 8:34 am EST

    Hi Vinay,

    We are sorry but currently, wijmo doesn’t support dynamic submenus. Could you please explain more about your use case that why you need to have dynamic sub menus?

    The menu on right-click are added dynamically so I don’t know which submenu list will show in sub-menu

    Is the menu displayed as context menu for grid and on right-click menu items are changed based on the cell value? If this is the case, then you may also update the sub-menu items when main menu items get updated, are there any issues with that?

    Regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels