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

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
You table source can be whatever you want. See this blog for Ajax loaded row details.
Kevin
Thank you Kevin, that is exactly what I was looking for.