Cannot change settings after initialization without an alert
Cannot change settings after initialization without an alert
bwlang
Posts: 20Questions: 0Answers: 0
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.