Showing sub-rows
Showing sub-rows
clifford_ives
Posts: 2Questions: 0Answers: 0
Is there a way to display a recursive relationship within the table? For example, you want to show rows of data that are children of another row within the grid. It should be visibly easy to differentiate between what row is a parent and what row(s) is a child. Any help would be great.
thanks.
cliff
thanks.
cliff
This discussion has been closed.
Replies
http://www.datatables.net/blog/Drill-down_rows
it works by opening a new row with a single cell. you can put arbitrary HTML in the cell. I suppose you could put another DataTable into that cell and hack your own recursive tree.
view of example page above and debugger view of html:
http://i.imgur.com/VW25b.png