Getting original HTML for a table
Getting original HTML for a table
I've had a quick look at the source but I cannot quite see how I would get the original inner HTML for the table I have applied Datatables too. I need the html without the pagination applied i.e. all row and columns across all pages, but I want column headers and everything.
I realise I could put into a variable before calling .DataTables but that will consume more client side memory and DataTables must already have this data so it knows how to page etc?
I realise I could put into a variable before calling .DataTables but that will consume more client side memory and DataTables must already have this data so it knows how to page etc?
This discussion has been closed.
Replies
You can use fnDestroy to destroy the DataTable instance.
Allan
That's what I needed to know.