Datatable intialisation problem

Datatable intialisation problem

zoko2902zoko2902 Posts: 7Questions: 0Answers: 0
edited October 2009 in General
Hi!

I'm trying to display the data with server sided processing. Collecting data on the server side goes well, but i get a blank datatable.

Firebug is throwing this error:

$("#example").dataTable is not a function
anonymous()index2.html (line 44)
anonymous()jquery.min.js (line 19)
anonymous([function(), function()], function(), Object name=F)jquery.min.js (line 12)
anonymous()jquery.min.js (line 19)
anonymous()jquery.min.js (line 19)
[Break on this error] "sAjaxSource": "processing.php"\n

Does anyone have an idea? So far every table worked perfectly.

Cheers!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Sounds like there is a Javascript error somewhere... If you've got DataTables working else where, then I guess it's an error somewhere on that page. I'd look around the sAjaxSource parameter :-)

    Regards,
    Allan
  • zoko2902zoko2902 Posts: 7Questions: 0Answers: 0
    Arghhh.. simple error in the end. I didn't refrence datatables.js in orderly fashion so the metioned didn't now what to with suplemented id..it's resolved now, but i think for this case everyone gets what was wrong so i won't post the code :)
This discussion has been closed.