Properly destroy the table and working child rows

Properly destroy the table and working child rows

scazy0rgscazy0rg Posts: 2Questions: 1Answers: 0

Good afternoon,

Faced with the problem of how to properly destroy the table, and reload data at the same time to work child rows in new table.

Example modeled here:
http://live.datatables.net/mimaputu

After second click show button and reload table don't work child rows.

Maybe someone can help? I would be very grateful for the help.

This question has an accepted answers - jump to answer

Answers

  • leddyleddy Posts: 16Questions: 5Answers: 1
    edited July 2015 Answer ✓

    I had a play about and this seems to work? http://live.datatables.net/jameviju/1/

    I think it was the checking the ishidden on the container element - i don't think that works on functions

    i also added a <tbody> element

    HTH

  • scazy0rgscazy0rg Posts: 2Questions: 1Answers: 0

    Thanks a lot, your example helped me find my mistake...

This discussion has been closed.