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.
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
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.
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.
Thank you guys for the answers...really appreciate it :)