on 03-18-2024 10:51 AM
Hi Experts,
I have done grouping for sap.m.table. Now, I want to do grouping on sap.ui.table to merge duplicate row values. which should look like this.
and this is the code I have done in xml file so what needs to be done to group suppliers.
<core:FragmentDefinition xmlns:core="sap.ui.core"
xmlns="sap.ui.table"
xmlns:mvc="sap.ui.core.mvc"
xmlns:u="sap.ui.unified"
xmlns:c="sap.ui.core"
xmlns:m="sap.m">
<Table rows="{TTGRFQDetailModel>/DetailHeader/toSuppBidDetail/results}" selectionMode="None">
<columns>
<Column width="11rem" grouped="true" >
<m:Label text="{i18n>supplier}" />
<template>
<m:Text text="{TTGRFQDetailModel>SupplierName}" wrapping="false" />
</template>
</Column>
<Column width="11rem">
<m:Label text="{i18n>Round_No}" />
<template>
<m:Text text="{path:'TTGRFQDetailModel>RoundDocumentNo',formatter:'.formatter.RoundFormatter'}" wrapping="false" />
</template>
</Column>
</columns>
</Table>
</core:FragmentDefinition>
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.