Skip to Content
0

Enable Grouping in TreeTable

Apr 06 at 09:10 AM

28

avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Konstantia Zerva-Spanou
Apr 09 at 08:21 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded