on 11-03-2015 12:57 PM
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
Hi Abhishek,
Add style class to your table "sapUiSizeCompact" (or) "sapUiSizeCozy".
Check this sample from explored: SAPUI5 Explored
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.