Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Not able to get checkbox in table for the multiselect of the row.

view

<t:Table rows="{/ProductCollection}" title="" selectionMode="MultiToggle"

  visibleRowCount="5" >

  <t:columns >

      <t:Column width="11rem">

  <Label text="{i18n>Tablelable1}" />

  <t:template>

  <Text text="{sender cost}" />

  </t:template>

  </t:Column>

  <t:Column width="11rem">

  <Label text="{i18n>Tablelable2}" />

  <t:template>

  <Text text="{sender activity}" />

  </t:template>

  </t:Column>

  <t:Column width="11rem">

  <Label text="{i18n>Tablelable3}" />

  <t:template>

  <Link text="{profitability}" />

  </t:template>

  </t:Column>

  <t:Column width="11rem">

  <Label text="{i18n>Tablelable4}" />

  <t:template>

  <Text text="{quantity}" />

  </t:template>

  </t:Column>

  <t:Column width="11rem">

  <Label text="{i18n>Tablelable5}" />

  <t:template>

  <Text text="{UoM}" />

  </t:template>

  </t:Column>

  <t:Column width="11rem">

  <Label text="{i18n>Tablelable6}" />

  <t:template>

  <Text text="{description}" />

  </t:template>

  </t:Column>

  <t:Column width="11rem" >

  <Label text="{i18n>Tablelable7}" />

  <t:template>

  <Text text="{amount}" />

  </t:template>

  </t:Column>

  <t:Column width="11rem" >

  <Label text="{i18n>Tablelable8}" />

  <t:template>

  <Text text="{currency}" />

  </t:template>

  </t:Column>

  <t:Column width="11rem" >

  <Label text="{i18n>Tablelable9}" />

  <t:template>

  <Text text="{GL Account}" enabled="false" />

  </t:template>

  </t:Column>

  </t:columns>

  </t:Table>

Implemented this code but not getting checkbox

checked in SAPUI5 Explored here checkbox is there for selection but the same code is not working for me.

And the last three columns i wanted to make it disabled as given in the below expected output screen so the user cannot edit that field . Which property do i need to use it for that ?

Output

Expected output

kindly give your suggestion

Regards,

Abhishek lohiya

Not what you were looking for? View more on this topic or Ask a question