[SOLVED] oColumn is undefined and no stop at breakpoint in _fnInitalise()
[SOLVED] oColumn is undefined and no stop at breakpoint in _fnInitalise()
MrBaseball34
Posts: 96Questions: 0Answers: 0
If I wrap my initialization code in:
[code]
$(document).ready(function(){
[/code]
like this:
[code]
$(document).ready(function(){
$('#invtable').dataTable({
"bStateSave": true,
"bSortClasses": false,
"sPaginationType": "full_numbers",
"iDisplayLength": 100,
"bJQueryUI": true,
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "surplus_load.php"
});
});
[/code]
I get this error:
[code]
oColumn is undefined
jquery.dataTables.js
Line 6779
[/code]
Why would that be happening?
Also. I put a breakpoint on line 2296 and it never breaks:
[code]
function _fnInitalise ( oSettings )
{
var i, iLen; // line 2296 is this one
[/code]
I'm having troubles getting this thing to work on my pages.
[code]
$(document).ready(function(){
[/code]
like this:
[code]
$(document).ready(function(){
$('#invtable').dataTable({
"bStateSave": true,
"bSortClasses": false,
"sPaginationType": "full_numbers",
"iDisplayLength": 100,
"bJQueryUI": true,
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "surplus_load.php"
});
});
[/code]
I get this error:
[code]
oColumn is undefined
jquery.dataTables.js
Line 6779
[/code]
Why would that be happening?
Also. I put a breakpoint on line 2296 and it never breaks:
[code]
function _fnInitalise ( oSettings )
{
var i, iLen; // line 2296 is this one
[/code]
I'm having troubles getting this thing to work on my pages.
This discussion has been closed.
Replies
[code]
function _fnInitalise ( oSettings )
[/code]
oSettings is undefined. It just skips over all the functions.
What a dope!