datatable load second table
datatable load second table
aust_ae
Posts: 1Questions: 1Answers: 0
Hi, T.T
i need help, what i want to do is:
if i selected a row in a table i want to load second table using the first table row ID,
i can get the row id using select row function but i cant load the second table using ajax with php url?
so each time i select a row i need to reload the 2 table
This discussion has been closed.
Answers
Uhm, can you provide some more data?.. You said
Why cant you? whats the error in the console? Whats your code look like? Can you link to the page with the error?
Really need to give at least a little bit of detail, preferably more than a little actually..
I know this is possible, because I have it in my app (screenshot). I have a table with child rows, when you expand a child row, it will load another DataTable instance within the child node, which is using an AJAX data source, and the data within the AJAX call actually gets info from the
tr
that was clicked to expand it.