IE7 & 8 give errors
IE7 & 8 give errors
SCRIPT5007: 无法获取属性“style”的值: 对象为 null 或未定义
jquery.dataTables.min.js, 行58 字符316
j[k].style.width=null!==l.sWidthOrig&&""!==l.sWidthOrig?s(l.sWidthOrig):""
but in other browsers are OK.
my settings:
var dataTableBaseSetting = {
"order": [[ 0, "desc" ]],
"autoWidth": true,
"processing": true,
"serverSide": true,
"bDestroy": true,
"bStateSave": true,
"fnStateLoadParams": function (oSettings, oData) {
//分页配置为全局配置 所以每次加载将旧的配置清空
oData.search.search = "";
oData.start = 0;
oData.order = [[ 0, 'desc' ]];
},
"oLanguage": {
"sProcessing": "加载中...",
"sLengthMenu": "显示 MENU 项结果",
"sZeroRecords": "没有匹配结果",
"sEmptyTable": "没有数据",
"sInfo": "显示第 START 至 END 项结果,共 TOTAL 项",
"sInfoEmpty": "显示第 0 至 0 项结果,共 0 项",
"sInfoFiltered": "(由 MAX 项结果过滤)",
"sInfoPostFix": "",
"sSearch": "搜索:",
"sUrl": "",
"oPaginate": {
"sFirst": "首页",
"sPrevious": "上页",
"sNext": "下页",
"sLast": "末页"
}
},
"iDisplayLength": 50,
"sPaginationType": "full_numbers"
}