how to build a tree view datatable
how to build a tree view datatable
Hi:
I recently want to build a tree view datatable via jquery. And I have read the data in
https://datatables.net/examples/api/row_details.html, but it still can not meet my project.
I hope it can run a scenario like following:
1. click the plus icon, and then show the detail data about the row, and the detail data
will consist many sub-rows, like a company may have hundreds products, and so on.
I see the example in row_details.html, and if we add angularjs to define that, is that possible
to meet that scenario, thanks.
This question has an accepted answers - jump to answer
Answers
Regarding tree views, a simple forum search finds this:
https://datatables.net//forums/discussion/comment/90382/#Comment_90382
I'm sorry, but DataTables does not have a tree view option. If you search the forum you'll find that there are a number of other questions on exactly this same topic with the same answer.
Allan
Synchronised posting....
i have implement this:
http://maxazan.github.io/jquery-treegrid/
and work nice but is incompatible with fixed column
but i not use the CSS file
I use this one https://github.com/mar10/fancytree along with a hierarchical database query to create the nodes I need.