Getting oColumn undefined but table seems alright!
Getting oColumn undefined but table seems alright!
crazycoders
Posts: 6Questions: 0Answers: 0
$(document).ready(function(){
$('#tabs').tabs();
$('.datatable').dataTable({
"bPaginate": true,
"bLengthChange": true,
"bFilter": false,
"bSort": true,
"bInfo": true,
"bAutoWidth": false,
"sPaginationType": "full_numbers",
"sDom": '<"top"lp>rt<"clear">',
"iDisplayLength": 50,
"oLanguage": {
"sUrl": "../../res/content/datatable.fr-CA.php"
}
});
});
Op
$('#tabs').tabs();
$('.datatable').dataTable({
"bPaginate": true,
"bLengthChange": true,
"bFilter": false,
"bSort": true,
"bInfo": true,
"bAutoWidth": false,
"sPaginationType": "full_numbers",
"sDom": '<"top"lp>rt<"clear">',
"iDisplayLength": 50,
"oLanguage": {
"sUrl": "../../res/content/datatable.fr-CA.php"
}
});
});
Op
This discussion has been closed.
Replies
I took the code (libs and table) from another page that works... i'm a little bit dumbstruck!
For exemple, if a table doesn't feature THs or something like that, gracefully continue working and alert the user that table #ID something doesn't conform, it will make us lose much less time to debug stupid errors like that are not your fault at all!
Regards,
Allan