Hey,
I have to generate a hierarchical json from multiple tables (Database).
It will be used for a TreeTable (SAPUI5). Are there any functions in SAPUI5 or the MII Workbench which could be useful for me?
Example Data:
data: { 0: { text: "Node 1" parent_id: -1 }, 1: { text: "Node 2" parent_id: -1 }, 2: { text: "Node 1|1" parent_id: 0 }, 3: { text: "Node 2|1" parent_id: 1 }, 4: { text: "Node 2|1|1" parent_id: 3 }, 5: { text: "Node 1|2" parent_id: 0 } }
Thanks!
Regards Robin