How to create dynamic option (radio button or button group)?


Hi,

I have the above Room Code from an Entity. How can I list it down in horizontal way and not using dropdown? and must be able only to choose one. 

Anyone can help? This is for Mobile project

Thank you

Hello Yudi,

I have create same scenario for you "Horizontal scroll" 

https://akshayproject.outsystemscloud.com/PreviewInDevices/?IsMobilePreview=True&DeviceName=Smartphone&URL=/TestMobile/Screen?_ts=637615261491568685

(if you check on the web browser then left and right key used for check)

As per your need you will customize that list 

If Url work for you then I have attached OML as well

Thanks and Regards,

Akshay Deshpande

HorizontalScrollbarDemo.oml

Hello Yudi,

Any Update on this ?

Hi Akshay,

sorry for late reply yes. Your samole work is working well. Tats indeed what i am looking for.

Also for Ellakkiya answer also working. I incorporated both of your ways for my solution.

Thanks.

I attached the screenshot what I have done. 

895FAD83344549B4A5EE9B45808A0FDB.png

No issue,

 its good see you have got your solution

cheers,

Akshay

Solution

Hi Yudi Gemi Sutanto Tjong

You can achieve this by using the list.

I had workaround your scenario.

Pls check the URL and OML attached

Regards,

Ellakkiya.S

List.oml

Hello Yudi,

I have create same scenario for you "Horizontal scroll" 

https://akshayproject.outsystemscloud.com/PreviewInDevices/?IsMobilePreview=True&DeviceName=Smartphone&URL=/TestMobile/Screen?_ts=637615261491568685

(if you check on the web browser then left and right key used for check)

As per your need you will customize that list 

If Url work for you then I have attached OML as well

Thanks and Regards,

Akshay Deshpande

HorizontalScrollbarDemo.oml

Hello Yudi,

Any Update on this ?

Hi Akshay,

sorry for late reply yes. Your samole work is working well. Tats indeed what i am looking for.

Also for Ellakkiya answer also working. I incorporated both of your ways for my solution.

Thanks.

I attached the screenshot what I have done. 

895FAD83344549B4A5EE9B45808A0FDB.png

No issue,

 its good see you have got your solution

cheers,

Akshay

Hi,

You may try using the Dynamic button group forge component.

The component uses the same styles available for the default OutSystems button group widget.

Receives a custom list with a pair label/value, and generates the group based on it.

https://www.outsystems.com/forge/component-overview/7497/dynamic-button-group-reactive 


Solution

Hi Yudi Gemi Sutanto Tjong

You can achieve this by using the list.

I had workaround your scenario.

Pls check the URL and OML attached

Regards,

Ellakkiya.S

List.oml

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