[Datatables-1.9.4] IE7-8 cookie problems
[Datatables-1.9.4] IE7-8 cookie problems
tsarapke
Posts: 1Questions: 0Answers: 0
Hello,
I have use "bStateSave": true in my DT and it work fine (like opera 9.25, FF 13) except IE7 and IE8. When I open the "Developer Tools" -> "Cache" -> "View information about the cookie file", then don't see anything that might apply to this domain. It seems that he does not know where to look.
I should add that this page has 3 DT with similar parameters.
Does anyone have any ideas?
Settings example:
$(document).ready( function () {
$('#full-list').DataTable({
"bStateSave": true,
"iCookieDuration": 60*60*24,
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "blacklist/fullorglist",
"aoColumns" : [
{"mData" : 0,"iDataSort": 0, "sType": "numeric", "sClass": "unp"},
{"mData" : 1,"iDataSort": 1, "sType": "string", "sClass": "name"},
{"mData" : 2,"iDataSort": 2, "sType": "date", "sClass": "startdate"},
{"mData" : 3,"iDataSort": 3, "sType": "string", "sClass": "reason"}
],
"sPaginationType": "full_numbers",
"bAutoWidth": false,
"fnServerParams": function ( oData ) {
oData.push( { "name": "monthNum", "value": monthNum } );
},
"fnStateSaveParams": function (oSettings, oData)
{
oData.monthNum = $('.dataTable_datepicker').val();
},
"fnStateLoadParams": function (oSettings, oData)
{
monthNum = oData.monthNum;
$(document).ready(function() {
$('.dataTable_datepicker').val(oData.monthNum);
})
},
"sDom": 'MyDOM'
});
Cookie example
{
"iCreate":1404290060175,
"iStart":0,
"iEnd":0,
"iLength":10,
"aaSorting":[[1,"asc",0]],
"oSearch":{
"bCaseInsensitive":true,
"sSearch":"Ðо",
"bRegex":false,
"bSmart":true
},
"aoSearchCols":[
{
"bCaseInsensitive":true,
"sSearch":"",
"bRegex":false,
"bSmart":true
},
{
"bCaseInsensitive":true,
"sSearch":"",
"bRegex":false,
"bSmart":true
},
{
"bCaseInsensitive":true,
"sSearch":"",
"bRegex":false,
"bSmart":true
},
{
"bCaseInsensitive":true,
"sSearch":"",
"bRegex":false,
"bSmart":true
}
],
"abVisCols":[true,true,true,true],
"monthNum":"05.2014"
}
This discussion has been closed.