How to set a DataTable option after it has been initialized ?

How to set a DataTable option after it has been initialized ?

joetideejoetidee Posts: 3Questions: 1Answers: 0

I want to manually set a DataTable option after it has been initialised, for example:

var myTable = $("#selector").DataTable({
   "stateSave": false 
});

I want to be able to switch the 'stateSave' option to true - how would I do this?

p.s. I'm using the DataTables 1.10.0

This discussion has been closed.