managed to implement almost everything that I wanted with the treeview but could not able to capture only the leaf nodes whenever the parent node getting selected, So I only need the leaf node objects to be added on my array of selected nodes at any type of selections like below:
case 1: on selection of a leaf node
case 2: on selection of the immediate parent node of a set of leaf nodes
case 3: on selection of the last left leaf node etc... etc..
Cross Posting: SO post: http://stackoverflow.com/questions/43710477/capture-only-the-leaf-nodes-when-the-parent-node-gets-selected-in-angular-ivh-tr
managed to implement almost everything that I wanted with the treeview but could not able to capture only the leaf nodes whenever the parent node getting selected, So I only need the leaf node objects to be added on my array of selected nodes at any type of selections like below:
case 1: on selection of a leaf node
case 2: on selection of the immediate parent node of a set of leaf nodes
case 3: on selection of the last left leaf node etc... etc..
With these above code, the entire hierarchy is getting added into my selected nodes array as soon as the parent node gets selected.