Code to create Parent Child Hierarchy

uec_gaurav

New Member
Joined
Apr 4, 2019
Messages
1
Hi,

Can anyone help me, as i have data in 2 column and need to create hierarcy. please refer the example below

ChildParent
AB
BC
CD
DD

<colgroup><col width="64" style="width:48pt" span="2"> </colgroup><tbody>
</tbody>


My desired output is as below

ParentLvl 1Lvl 2Lvl 3
D
DC
DCB
DCBA

<colgroup><col width="64" style="width:48pt" span="4"> </colgroup><tbody>
</tbody>
 

Forum statistics

Threads
1,078,240
Messages
5,339,031
Members
399,274
Latest member
WilliamWavehill

Some videos you may like

This Week's Hot Topics

Top