Errors on initialization

Errors on initialization

BernardABernardA Posts: 21Questions: 0Answers: 0
edited March 2013 in DataTables 1.9
I am getting started with DataTables and Firebug is not happy.
It is giving me error on the plug in file which is very odd.

Type Error - oCol is undefined on line 820 of the js/jquery.dataTables.js file
[code] oCol.fnSetData( oData, val ); [/code]


I include the full initialization code within the head section of my page:

[code]


$(document).ready(function() {
$("#myTable").dataTable();
});
[/code]


Anybody has a clue?

Replies

  • BernardABernardA Posts: 21Questions: 0Answers: 0
    edited March 2013
    OK, I found the clue myself. The problem was in the format of the table in HTML. It is working now.
    Actually I tried to delete the post, but did not find a way to do it, so I leave this so that nobody else spends time on this.
This discussion has been closed.