Skip to Content

How to get radio button property(from column) from sap.m.table?

Hi,

I am using a sap.m.Table. In the table, I have two columns. Radio button in one column and employee name in other column. Now I should restrict the user to select only one radio button in the column. Can anyone guide me?

Regards

Karthik S

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 07, 2017 at 02:50 PM

    Hi,

    what about mode="SingleSelect" in table ?

    you can avoid first column for radiobutton and introduce mode property as above in your table, by default radio button will be shown against each row.

    check if it is ok for your business scenario.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 07, 2017 at 07:37 PM

    HI Karthik

    Would this help?

    http://jsbin.com/guraya/edit?js,output

    Thanks

    Dennis

    Add comment
    10|10000 characters needed characters exceeded