Nested DataTables
Nested DataTables
reddy23
Posts: 11Questions: 5Answers: 0
Hello,
I am trying to use Nested tables in my Java web application. Where, I wanted to have a row expand to another table from data-source different from the parent. I was not successful when I tried to use format function in row,child(). I am using Ajax call to get the data.
Please let me know if anyone have examples similar to this scenario.
Thanks in advance for the response :)
Keep Scripting,
Reddy
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Reddy233
I actually had to do the EXACT same thing. In my application, you can see what sessions are currently tied to your account, if you have the same account logged on in different locations. You can also expand the rows and watch the session activity in a sub-table which is also DataTables.
http://code.linuxdigest.org/view/0a509381
The only thing I had to make sure was that the ID for each DataTables was unique.
Heres the DataTables Child Rows sample that I got some of the code from: https://www.datatables.net/examples/api/row_details.html
Sorry for the late reply. Thank you so much. It really helped :)