aoColumnDefs calling ColVis.js

aoColumnDefs calling ColVis.js

josh4carjosh4car Posts: 4Questions: 0Answers: 0
edited July 2013 in General
Hi guys,

I'm having this strange issue where my code is calling the ColVis.js on a table I am not using it on, causing an error :
"Cannot read property '1' of null". If I remove aoColumnDefs then it works fine. Am I missing something? Here is my initialization

[code]
$('#mailTable').dataTable({
"aoColumnDefs": [
{"sType": "title-numeric", "aTargets": [0] }
],
"bLengthChange": false,
"iDisplayLength": 10,
"sPaginationType": "full_numbers",
"bStateSave": true
});
[/code]

Thanks!

Replies

  • allanallan Posts: 63,514Questions: 1Answers: 10,472 Site admin
    Sounds a bit odd. Are you able to link us to the page so we can debug it please?

    Allan
This discussion has been closed.