on 2020 Sep 18 6:42 AM
Hello Everyone,
We are using sap.m.Tree control to show content in a hierarchical format. Problem we are facing is, it displays every array inside json object as a node.
From below screenshot, whole is a json object and for all the array objects tree node is visible. But only for characteristicGroups data tree node should display.
Is it possible to select which items to display as a nodes ?
Thanks & Regards,
Srinath
Request clarification before answering.
You can specify the arrays that should be displayed by the tree with the parameter arrayNames from JSONTreeBinding.
Try this as your item binding syntax:
items="{path: '/rootItem', parameters: {arrayNames: ['characteristicGroups']}}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.