Child rows (show extra / detailed information)
Child rows (show extra / detailed information)
alang2205
Posts: 18Questions: 11Answers: 0
Example code: https://datatables.net/examples/api/row_details.html
Hi can someone please provide me an example on how should the code should look like if i want to do something as the child row example code if i do not want to use AJAX?? using only data from html directly
Answers
There really isn't a difference. However the data in the example is using objects with
columns.data
. With DOM sourced tables the data is typically arrays. In the format function instead of usingd.name
you would used[0]
to access the data in column 0 (the Name column).Kevin