Strange request - Disable / remove all features

Strange request - Disable / remove all features

wheelibinwheelibin Posts: 2Questions: 0Answers: 0
edited January 2011 in General
Hi

Is there any way of disabling the entire dataTables() functionality?
I'm not talking about certain features, I want to disable the whole thing - i.e. as though I had never called .dataTable();

I have multiple tables on a page that I hide/show using jQuery, it will be much cleaner to only dataTable() the active table and remove the functionality from the rest.

Does anyone know how I would achieve this?

Thanks in advance!

Replies

  • wheelibinwheelibin Posts: 2Questions: 0Answers: 0
    bump :)
  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Can you not only initialise DataTables on the visible table? If you want to nuke .dataTable entirely, just don't load the JS file :-). If you want to not use it on certain tables, just don't call it on those tables :-)

    Allan
This discussion has been closed.