closing a row with .fnClose() deletes row

closing a row with .fnClose() deletes row

eggypoteggypot Posts: 1Questions: 0Answers: 0
edited September 2013 in DataTables 1.9
Hey everyone,

I'm using .fnOpen(nTr, someFunction(nTr), 'someClass') to create a new row of details. Closing the row with .fnClose() deletes the entire element and its contents. Is there an option to just HIDE the row, so the details can be accessed without calling .fnOpen() again?

Thanks for any help!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Not in DataTables 1.9-, but yes in 1.10+ :-). 1.10 is pre-beta, but I've added the ability to do exactly what you are looking for.

    1.10 is ready to roll, but just lacking documentation - so it might be a little difficult to get it to do what you want until I get a chance to write the documentation, but this example might get you started: https://github.com/DataTables/DataTablesSrc/blob/1_10_wip/examples/api/row_details.xml

    Allan
This discussion has been closed.