Recursive tr with Knockout JS and Jquery Template
问题 I am going crazy trying to find a solution for my problem. I have a JS object which has a hierarchical structure and the level of hierarchy is unknown. Making use of JQuery template and Knockout JS i can get the tree structure with <ul> & <li> but my requirement is, for each child, I need to render a new Row in a Table So lets say my structure is: { Name: 'First', Total: 100, Set: [ { Name: 'First_1', Total: 30, Set: [{Name: 'First_1_1', Total: 10}, {Name: 'First_1_2', Total: 20}] }, { Name: