Skip to Content
avatar image
Former Member

Merge Cells in sap.ui.table.Table


I need to merge cells in UI Table based on the data that I'm binding from a dynamically created mode.

I have gone through some of the posts on the same query but I wasn't able to find a solution to my problem. I do not want to use ids for the cells to achieve this as it would create a problem when I have only a certain number of visible rows at a time in the ui table.

And there doesn't seem to be a direct property like mergeDuplicates in the m table.


I've attached an image of the table and how I want to merge the data.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 07, 2017 at 07:42 AM

    Use the sap.m.table. In it, use the property mergeDuplicates in sap.m.column.

    For reference, check the following threads:



    Add comment
    10|10000 characters needed characters exceeded

    • coz, it looks for common values and merges it. Empty space is also a value and hence other columns without data get merged.

      Other than, this there is not direct config to only merge columns with data. Check if it's possible to control the merging duplicated for a specific column.