Skip to Content

How to define tree table annotation (XML view)?

Oct 29, 2017 at 07:09 PM


avatar image
Former Member

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

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers