is there an example for using TableTree control in SAP Fiori app. I have an OData service already defined with the association. How do I use it in my view?
Below is the view snippet:
<table:TreeTable rows="{/Zbpo_Cds_Fkkvp}"
selectionMode="None"
visibleRowCount="11"
showColumnVisibilityMenu="true"
enableCellFilter="true"
enableColumnReordering="false"
class="sapUiSizeCompact"
expandFirstLevel="true"
>
<table:columns>
<table:Column>
<Text label = "Contract Partner" text ="{gpart}"></Text>
</table:Column>
<!--<table:Column>
<Text text ="{vkont}"> </Text>
</table:Column>-->
</table:columns>
</table:TreeTable>
I have following error: Neither navigation paths parameters, nor (complete/valid) tree hierarchy annotations where provided to the TreeBinding.
Do i need to annotate my CDS view?
Thank you in advance!