1

When we set mode="SingleSelect", radio buttons are displayed. How can we hide radio buttons from each row?

<Table id="idDetailTable"
  growing="true"
  selectionChange="vendorSelect"
  includeItemInSelection="true"
  mode="SingleSelect"
>
Boghyon Hoffmann
  • 17,103
  • 12
  • 72
  • 170
Kitty
  • 179
  • 6
  • 13
  • 29

1 Answers1

4

First of all checkout Tims awesome summary of sap.m.ListModes here. Secondly here is your code:

<Table id="idDetailTable"  
       items="{tabledata>/Items}" 
       height="100%" 
       growing="true" 
       selectionChange="vendorSelect" 
       includeItemInSelection="true"   
       mode="SingleSelectMaster" 
       modeAnimationOn="false">

Check sap.m.ListMode for more details.

Btw: The string values of ANY UI5 enum is equal to the last part of its namespace: sap.m.ListMode.SingleSelectMaster -> SingleSelectMaster. That's why you can use just that last part in an XMLView or HTMLView.

cschuff
  • 5,502
  • 7
  • 36
  • 52