datatable not working when upgraded jquery.datatables.min.js from 1.9.4 to 1.10.5.

datatable not working when upgraded jquery.datatables.min.js from 1.9.4 to 1.10.5.

capriscapris Posts: 17Questions: 7Answers: 0

HI Allan,

i have dynamic datatable created with dynamic id, which works fine with 1.9.4 version and doesn't get initialized when upgraded to 1.10.5.

below is the error im facing when I tried to run.
SCRIPT5007: Unable to get property '_setter' of undefined or null reference
File: jquery.dataTables.min.js, Line: 20, Column: 375

below is the datatable used
$("#researchTable-"+clickCount).dataTable({
"bAutoWidth" : false,
"bInfo" : true,
"bSearch" : false,
"bProcessing" : true,
"bSortable": true,
"aaSorting": [[1,'desc']],
//"bStateSave": true,
"bLengthChange" : false,
//"sScrollX": "100%",
//"sScrollXInner": "100%",
"scrollY":"200px",
// "lengthMenu": [3, "All"],
"iDisplayLength": 30,
"sPaginationType":"four_button",
"bPaginate":true,
"bFilter" : true,
"oLanguage": {
"sEmptyTable":"No sessions found"
}
});

i have read that 1.10 is also supporting backwards. so Im not sure why the datatable itself is not getting initialized and hence all events associated to it are also not working. Please help me over here.

Answers

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin

    Can you link to the page so I can debug it please. 1.10 should be backwards compatible.

    Allan

This discussion has been closed.