How do I create a submenu after an onclick on a button ?

How do I create a submenu after an onclick on a button ?

Basically clicking on the button with three dots button opens a menus based on certain conditions.The menu items differ for each record

Please find the Screehshot below




Hi,

You can use Richwidgets/Drop-down to complete your requirement. 

Widget view 

Add button to menu item container. I have attached oml..

Thanks, Aadhavan S

Sampleeeev7.oml

Hi,

You can use Richwidgets/Drop-down to complete your requirement. 

Widget view 

Add button to menu item container. I have attached oml..

Thanks, Aadhavan S

Sampleeeev7.oml

Hello @Craig Rodrigues ,

I hope you are great mate!!

Please find here easy way to create submenu,

https://www.outsystems.com/help/servicestudio/9.0/Web_User_Interface/Adding_Submenu_Entries.htm

Also you can find one forge component here:

https://www.outsystems.com/forge/component-overview/4123/dynamic-drop-down-menu-sample

I hope this helps you.

Kind Regards,

Ajit kurane.


Hi Craig!

Somedays ago I had this exact same requirement as you and I achieved it in the following way:

Make use of a Dropdown menu for the action button and to show the list items.

As your options may vary on each record, put the dropdown menu inside a WB. Create some input parameters on the WB so it can run some logic on each sub links it should show. Create your desired actions for each link on the submenu (don't forget to make use of OnNotify as well).

After that you'll have your functionality, but you can even also make it look as you want by applying some CSS inside the webblock ;)

I hope this may help you :)

Hi @Craig Rodrigues , you can check also my component https://www.outsystems.com/forge/component-overview/202/dynamic-menus case you need to make it dynamic. You have also a sample in the component.

Regards,

Luis Oliveira

Thank you guys so much for suggestions. :) 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.