Using aoColumnDefs or aoColumns throws an error
Using aoColumnDefs or aoColumns throws an error
red010b37
Posts: 1Questions: 0Answers: 0
If I do this
[code]
/* Using aoColumnDefs */
$(document).ready(function() {
$('#example').dataTable( {
"aoColumnDefs": [
{ "bSortable": false, "aTargets": [ 0 ] }
] } );
} );
[/code]
OR
[code]
/* Using aoColumns */
$(document).ready(function() {
$('#example').dataTable( {
"aoColumns": [
{ "bSortable": false },
null,
null,
null,
null
] } );
} );
[/code]
I get the following JS Error
Error: k[(qa ? qa : "string") + "-" + h[c][1]] is not a function
Source File: http://localhost.avids/js/jquery.dataTables.min.js
Line: 86
Am I missing something here?
[code]
/* Using aoColumnDefs */
$(document).ready(function() {
$('#example').dataTable( {
"aoColumnDefs": [
{ "bSortable": false, "aTargets": [ 0 ] }
] } );
} );
[/code]
OR
[code]
/* Using aoColumns */
$(document).ready(function() {
$('#example').dataTable( {
"aoColumns": [
{ "bSortable": false },
null,
null,
null,
null
] } );
} );
[/code]
I get the following JS Error
Error: k[(qa ? qa : "string") + "-" + h[c][1]] is not a function
Source File: http://localhost.avids/js/jquery.dataTables.min.js
Line: 86
Am I missing something here?
This discussion has been closed.
Replies