I need to build a hierarchical tree with data from a table input. To do this, I need to keep in memory the data already read from the table input in the form of a hierarchical tree and add to them each new row read from table input.

My question: how can i do that with javascript step?


Léo Müller