Plugin and HTML tables question

Plugin and HTML tables question

MikeSMikeS Posts: 113Questions: 1Answers: 0
edited April 2013 in General
Noob question...I am curious to know if after "dataTabling" an HTML table, does the original HTML table remain in the DOM? If so, is it possible to remove it from the DOM without it affecting the dataTable plugin's functionality? I'm asking this because I'm wondering if by removing the initial HTML table, I could be freeing up some memory.

Replies

  • allanallan Posts: 63,520Questions: 1Answers: 10,473 Site admin
    DataTables uses the original HTML table. You could remove it, but that would be removing the DataTable as well. So not, this isn't an easy way to save memory I'm afraid (or I'd have put it into the core!).

    Allan
This discussion has been closed.