Result of expression 'oColumn' [undefined] is not an object.

Result of expression 'oColumn' [undefined] is not an object.

chrisborgchrisborg Posts: 1Questions: 0Answers: 0
edited December 2010 in General
I am getting: "Result of expression 'oColumn' [undefined] is not an object." on line 6779.
I am using jquery 1.4.4 and dataTables 1.7.5.

Tried all kind of things. Let me know what I am missing. Most likely something trivial.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


















:: Markets




$(document).ready(function() {
$("button").button();
$('.datatable').dataTable( {
"bPaginate": false,
"bLengthChange": false,
"bFilter": true,
"bSort": false,
"bInfo": false,
"bAutoWidth": false } );
});










You are logged in.
Logout





$(document).ready(function(){

$("ul.subnav").parent().append(""); //Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*)

$("ul.topnav li span").click(function() { //When trigger is clicked...

//Following events are applied to the subnav itself (moving subnav up and down)
$(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click

$(this).parent().hover(function() {
}, function(){
$(this).parent().find("ul.subnav").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up
});

//Following events are applied to the trigger (Hover events for the trigger)
}).hover(function() {
$(this).addClass("subhover"); //On hover over, add class "subhover"
}, function(){ //On Hover Out
$(this).removeClass("subhover"); //On hover out, remove class "subhover"
});
});





<!-- Start Data Table -->



Markets

Add a Market






Market Name
Market Code
Market Scope




Texas
TX
State


United States
USA
Federal

Replies

  • allanallan Posts: 63,512Questions: 1Answers: 10,472 Site admin
    You need to use TH element in the THEAD: http://datatables.net/usage/#prerequisites :-)

    Allan
This discussion has been closed.