cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple radio buttons in a table

Former Member
0 Kudos

Hi Experts,

I've a requirement. There is a table with 18 entries (only 1 column). Now for this one column, I need to add 4 radio buttons per entry.

Ex:

Text_field           Radiobutton Field1          Radiobutton Field2       Radiobutton Field3        Radiobutton Field4

But all of the 4 radiobutton fields binds to only one table field.

For 18 entries, 18 table fields, 72 Radio buttons.

Kindly requested to provide me the necessary logic for the same.

Regards,

-Syed.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

Follow this approach :

1. Make a Table with four Columns. In your case , you are having only attribute under your node binded to table.

So add 3 more attributes of type String.

2. Now you will be having 4 columns inside your table.

3. Give differnt text to your radio buttons. R1, R2, R3,R4.

Now you can set/reset any radio buttons for any particular row.

In case of any issues, revert .

Former Member
0 Kudos

1 create a context attribute ca under context node

2 create 3 context attributes bind them with radio buttons UI

3 bind this ca wid the value property of ur 1st column

4 read ca using code wizard

5 set context attributes for ur radio UI accordingly in ur method

6 bind the text property of ur text views(inside table columns) with these 3 attributes

check the standard WD component WDR_TEST_EVENTS

Former Member
0 Kudos

Hey All,

Thanks for your replies. The issue is solved by myself.

Regards,

-Syed.