How to create nested accodian table

How to create nested accodian table

vishu143xvishu143x Posts: 2Questions: 1Answers: 0

I want to create 2 to 3 nested accordians connected to each row.
Referred the below link. But it is creating only one accordian. I want to create nested accordians
https://datatables.net/examples/api/row_details.html

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @vishu143x ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • vishu143xvishu143x Posts: 2Questions: 1Answers: 0

    Hi
    I was able to implement row level accordian using the link : https://datatables.net/examples/api/row_details.html
    But I need another accordian on click of the element
    suppose on click of "extra info" element in the image attached , I want another accordian to be displayed below the "extra info".
    Suggest me on this

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @vishu143x ,

    Child rows only go down one level, so won't be able to use that. What you could do though is to have nested tables, see this example from this thread.

    Cheers,

    Colin

This discussion has been closed.