cancel
Showing results for 
Search instead for 
Did you mean: 

data from fragment to controller with radiobutton

kp_25
Participant
0 Kudos

Hi, I am selecting a radiobutton on a fragment and am trying to get the data but nothing seems to work.I tried everything online, getParameter() , from Table.This is how i load the fragment

After selecting the radio button I am not getting the data in Ok button control.Note I have tried most of the options online.

junwu
Active Contributor
0 Kudos

code please

Accepted Solutions (0)

Answers (2)

Answers (2)

kp_25
Participant
0 Kudos

Resolved it by setting mode in Table mode='singleselectLeft" and capturing the values like this

var material = oEvent.getParameter("listItem").getCells()[0].getProperty("text", true); Radiobuttons hold values only in text , key is not available.

kp_25
Participant
0 Kudos

I have attached the view,fragment being called in controller,

I am trying to get the selected row infor by using "select" on radio button ( // in console no values

I am not able to get index of the table or and value in console, with oEvent.getParameter/ not useful

var oItems = oEvent.getSource().getItems();//not usefulhow to get the selected row values?