Skip to Content
avatar image
Former Member

How to define tree table annotation (XML view)?

I have defined tree table same as shown in UI5 demo kit sample.

<t:TreeTable id="TreeTableHeader" selectionMode="Single" enableColumnReordering="false" expandFirstLevel

"false" rows="{ path : '/SearchSet', parameters : { countMode: 'Inline',
treeAnnotationProperties : {

hierarchyLevelFor : 'HierarchyLevel',

hierarchyNodeFor : 'NodeID',

hierarchyParentNodeFor : 'ParentNodeID',

hierarchyDrillStateFor : 'DrillState' } } }" >


I am confused about "tree annotations properties" here.
My data coming from oData is as follow



I have tried defining annotations in MPC_EXT as shown in this blog https://blogs.sap.com/2015/10/23/treetable-odata-binding/

but it is calling same oData again when you expand any node.
I have tried one sample project in reference to UI5 sample application "tree table using mockserver", It works fine but not when i use my oData.

Can anyone explain about "tree annotation properties" where i need to maintain it?

capture1.png (35.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers