How is your experience with the OutSystems Community?
20
Views
4
Comments
Solved
Grouped Dropdown

Hi all fellow developers.

Is it possible to make a grouped dropdown (optgroup) in Outsystems, for example like in the image below:


Some info:
I'm developing in ODC.
I'm hoping the dropdown search widget can be costumed for this purpose.
I've searched in the assets and couldn't find any forge for this.

Thanks. Looking forward to you guys answers and guides.

2023-09-06 07-26-35
Sudip Pal
Solution

Hi @Shahril Mad Shah 

We can implement this using Interaction\DropdownSearch. I have attached an OML. You can have a look and let me know if you face any difficulty.

Thanks,

Sudip

GroupDropdown.oml
2021-11-14 02-45-20
Shashi Mishra

Hello @Shahril Mad Shah,  

We can customize this based on your required condition. You can create a list with an attribute for the language name and create another structure. Then, add that structure as an attribute in your main list. Bind this list in the search menu popup, proceed with the implementation, and map the data accordingly. You should get the desired result.

Let me know if this helps. Otherwise, I can attach the OML for you.

Thanks.


2023-09-06 07-26-35
Sudip Pal
Solution

Hi @Shahril Mad Shah 

We can implement this using Interaction\DropdownSearch. I have attached an OML. You can have a look and let me know if you face any difficulty.

Thanks,

Sudip

GroupDropdown.oml
2026-03-13 15-51-13
Samuel Espinoza

Hey @Shahril Mad Shah  the one that @Sudip Pal suggest looks like what you need, you can also use the DropdownServerSide from Outsystems UI that's highly customizable, if you need to have infinite scroll for example or search calling an API.

UserImage.jpg
Shahril Mad Shah

Thank you guys for the answers...really appreciate it :)

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