nCell is undefined
nCell is undefined
Hi All,
I have following DataTable initialization code
[code]
$(document).ready(function(){
var oTable = $('#agentListTable').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"aoColumnDefs": [
{ "bVisible": false, "aTargets": [6, 7, 8, 9, 10] }
{ "bSortable": false, "aTargets": [0, 9, 10] },
{ "bSearchable": false, "aTargets": [0, 9, 10] }
],
"bStateSave": true,
"fnStateSave": function (oSettings, oData) {
localStorage.setItem( 'DataTables_'+window.location.pathname, JSON.stringify(oData) );
},
"fnStateLoad": function (oSettings) {
return JSON.parse( localStorage.getItem('DataTables_'+window.location.pathname) );
}
});
});
[/code]
I am using DataTable 1.9.0 with jQuery 1.7.1
I have following error nCell is undefined and following message from debug
Requested unknown parameter '8' from the data source for row 0
I have following DataTable initialization code
[code]
$(document).ready(function(){
var oTable = $('#agentListTable').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"aoColumnDefs": [
{ "bVisible": false, "aTargets": [6, 7, 8, 9, 10] }
{ "bSortable": false, "aTargets": [0, 9, 10] },
{ "bSearchable": false, "aTargets": [0, 9, 10] }
],
"bStateSave": true,
"fnStateSave": function (oSettings, oData) {
localStorage.setItem( 'DataTables_'+window.location.pathname, JSON.stringify(oData) );
},
"fnStateLoad": function (oSettings) {
return JSON.parse( localStorage.getItem('DataTables_'+window.location.pathname) );
}
});
});
[/code]
I am using DataTable 1.9.0 with jQuery 1.7.1
I have following error nCell is undefined and following message from debug
Requested unknown parameter '8' from the data source for row 0
This discussion has been closed.
Replies
Allan