Create Button group - OutSystems

I am trying to create my own buttongroup widget since those that exist they are difficult to change CSS and its functionality.

However I have not made to select values or remove onclick, is there a way to do in OutSystems?

Rahul Sahu wrote:

Hi Marco,

You can use event in WB to return seleted values.


https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Reuse_UI/Use_Events_to_Propagate_Changes_From_a_Block_to_the_Parent 


https://success.outsystems.com/Documentation/11/Developing_an_Application/Design_UI/Reuse_UI/Pass_Data_Between_Blocks 


Hope this will help you.

Regards

Rahul Sahu

 

Hi Rahul, thanks for the anwser. I am new at OutSystems and I am trying to do it using radio buttons, if I click on it buttongroup it isn't selected. Is there a way I can fixed it so I can use events as you said?

Hi Marco, 

I have updated your oml, look into it. no need to trigger event you can simple use onclick event for that .

you can use this logic to accordingly. 

https://rahul-sahu.outsystemscloud.com/ContactApp/ 


Hope this will help you.

Regards

Rahul Sahu