what is the destroy() do?

what is the destroy() do?

seanyboyseanyboy Posts: 3Questions: 2Answers: 0

i used the destroy function like this : table.destroy(). and it worked,but it destroy the table in HTML ? (table header and tbody is dispear ! ), my table's place become to blank! is that right? is not just destroy the datatables API ?

Answers

  • allanallan Posts: 63,471Questions: 1Answers: 10,467 Site admin

    but it destroy the table in HTML ? (table header and tbody is dispear ! ), my table's place become to blank! is that right?

    No. It works okay here: http://live.datatables.net/fofuxugi/1/edit .

    Please link to a test case showing the issue.

    Allan

This discussion has been closed.