Skip to content

Conversation

@BobdenOs
Copy link
Owner

@BobdenOs BobdenOs commented Apr 7, 2023

sap.ui.table.TreeTable:
image

This example shows how to use the TreeTable control using CAP.

How does it work:

  • It uses the OData v2 proxy as UI5 does not support Tree Bindings on v4 models
  • By using the @sap.hierarchy annotations it is possible to inform UI5 of what kind of Tree information is inside the column
  • The model defines all required columns for the TreeTable to function and uses native CDL to achieve these results.
  • The level information only is required for determining root entries. All children are fetching using the parent relation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants