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,077,776
Messages
5,336,183
Members
399,069
Latest member
haxahid

Some videos you may like

This Week's Hot Topics

Top