Skip to Content
avatar image
Former Member

Enable Grouping in TreeTable

Hello,

I want to enable grouping in sap ui 5 TreeTable like we do it for Table.

I tried putting enableGrouping = "true" to TreeTable and sortProperty="xyz" to the column but it doesn't work.


Please let me know if its supported in TreeTable and how to do it?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 09 at 08:21 PM

    Hello Mihir,

    Which is the TreeTable control that you are using?

    As you can see in the following Demo Kit link, only Responsive Table (sap.m.Table) and Analytical Table (sap.ui.table.AnalyticalTable) have grouping functionality:

    https://sapui5.hana.ondemand.com/#/topic/148892ff9aea4a18b912829791e38f3e

    If you navigate from there to the sap.m.Table control you can find some examples where grouping is used.

    As you can see in the API reference for the control sap.ui.table.AnalyticalTable Method getEnableGrouping is Deprecated

    Best regards,

    Konstantia

    Add comment
    10|10000 characters needed characters exceeded