Skip to content

Show how to use a tree table#1

Open
BobdenOs wants to merge 1 commit into
mainfrom
treeshop
Open

Show how to use a tree table#1
BobdenOs wants to merge 1 commit into
mainfrom
treeshop

Conversation

@BobdenOs

@BobdenOs BobdenOs commented Apr 7, 2023

Copy link
Copy Markdown
Owner

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.

1 participant