Need a datatable which will open a new data table if we click on action column view link

Need a datatable which will open a new data table if we click on action column view link

anknegianknegi Posts: 3Questions: 2Answers: 0

I have a data table which is successfully showing a list of cricketers with thier name,age,runs,wickets and actions as a column. I am getting these data from am ajax data source.
My action column contains the view link which on further click should show another datatable with the cricketers wicket details.
I have another ajax data source for getting cricketers wicket summary.
I saw an example https://datatables.net/examples/api/row_details.html to do few points of this. But this example is returning pure html code while I need to return a whole data table with different data source.
Can anyone help me for this ?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,320Questions: 26Answers: 4,773
    Answer ✓

    You table source can be whatever you want. See this blog for Ajax loaded row details.

    Kevin

  • anknegianknegi Posts: 3Questions: 2Answers: 0

    Thank you Kevin, that is exactly what I was looking for.

This discussion has been closed.