I have a requirement to create a TreeView UI element (NWDS 7.0). I am pulling data from a MDM table. The data will reside in a context node. Let us say data will be
Here SE is a root node. Every instance here can be a node or a leaf. Its a node if it has a child element. Each child will have its name prefix as its parent node.
All this data will be available in a node. How do i create a tree structure out of this data? What do i need to do? How do i convert this data into a format which will be required by the TreeView UI element.? What does it need?