datatable save state is not for the first redirect to a new page
datatable save state is not for the first redirect to a new page
![sand0987](https://secure.gravatar.com/avatar/67e5baa7004e62aadf65315bbd990033/?default=https%3A%2F%2Fvanillicon.com%2F67e5baa7004e62aadf65315bbd990033_200.png&rating=g&size=120)
datatable save state is not for the first redirect to a new page and from the second type onwards the table properties are retained.
Unable to diagnose the problem:-
$(document).ready(function(){
console.log("DOM ready fired");
$("#contestHome").addClass("salesbox-highlight");
$('#searchResultsTable').dataTable({
"bStateSave": true,
'aoColumnDefs': [{
'bSortable': true,
'aTargets': [0] /* 1st one, start by the right */
}],
"order": [],
"dom": '<"left"f><"right"l>rt<"bottom"><"left"p><"right"i><"clear">'
});
});
This discussion has been closed.