statesave:true is not working ??
statesave:true is not working ??
karam
Posts: 31Questions: 14Answers: 0
1.10.9 version state save :true is not working when using statesavecallback in script ? individually its working for local storage.
This discussion has been closed.
Answers
stateSave
appears to work well in this example.Please link to a test case showing the issue, as per the forum rules.
Allan
save state true is working fine for browser level... but when i try to use it with savestatecallback method it stops working at browser level.
Can you link to a test case showing the issue, as I requested before please.
Allan
//to get column settings
$.fn.getColumnsShown = function(dTable)
{
vCols = "";
$.each(dTable.fnSettings().aoColumns, function(c){
if(dTable.fnSettings().aoColumns[c].bVisible == true){
vCols = vCols + dTable.fnSettings().aoColumns[c].sName +"|";
}
});
return vCols;
}
$(document).ready( function () {
var table;
"columns": [{
"title": "name",
"data": "name",
"name": "name"
}, {
"title": "addeddate",
"data": "addeddate",
"name": "added date"
}]
});
also statesaveload is not working on page laod
This is the last time I'll request a link to a test case to a page showing the issue. If you can't host the page yourself please use JSFiddle, CodePen or http://live.datatables.net .
Allan