Cannot change settings after initialization without an alert
Cannot change settings after initialization without an alert
![bwlang](https://secure.gravatar.com/avatar/0ea0365931cd54a57c0da1084dfe2b2b/?default=https%3A%2F%2Fvanillicon.com%2F0ea0365931cd54a57c0da1084dfe2b2b_200.png&rating=g&size=120)
I'm using many datatables on my site...
Most have the same initialization settings so i put that it its own little js file.
Sometimes I need to override though.
Unfortunately i don't have the dataTables object so I have to look it up - which causes an error
var tbl = $("table").dataTable();
tbl.fnSettings.bStateSave = false;
sigh... any chance to avoid this alert?
Most have the same initialization settings so i put that it its own little js file.
Sometimes I need to override though.
Unfortunately i don't have the dataTables object so I have to look it up - which causes an error
var tbl = $("table").dataTable();
tbl.fnSettings.bStateSave = false;
sigh... any chance to avoid this alert?
This discussion has been closed.
Replies
This thread might possibly (?) be of interest to you: http://datatables.net/forums/comments.php?DiscussionID=1314
Allan
so I think it can be closed.