How to correctly destroy TableTools ?

How to correctly destroy TableTools ?

stwistwi Posts: 10Questions: 0Answers: 0
edited February 2013 in TableTools
Hi,

I can destroy a DataTable (which includes TableTools) by calling "fnDestroy(true)". Calling afterwards "$.fn.dataTable.fnTables(true)" will return an empty list. But calling afterwards "TableTools.fnGetMasters()" will return a list with one element, which is the TableTools instance for the table that I have destroyed.

I could not find a destroy function for TabelTools and so I am wondering how to get rid of the TableTools instance ?

[Edit]I also found out that if I create a new DataTable after having destroyed the previous table with "fnDestroy(true)" I end up with 2 master instances of TableTools being reported by "$.fn.dataTable.fnTables(true)". So for each time that I destroy and re-create my table I get an additional instance of Table Tools.[/Edit]

Regards,
Stephan

Replies

  • adaveaadavea Posts: 1Questions: 0Answers: 0
    bump! I'm having the same problem...
This discussion has been closed.