I have a table which looks like this (simplified for the example): Level 1 Level 2
View this Javascript project