dataTable() vs. DataTable()

dataTable() vs. DataTable()

ariesoneariesone Posts: 1Questions: 1Answers: 0

Your homepage lists:
$(document).ready(function(){
$('#myTable').dataTable();
});

I had problems with using the libaray until I noticed in some examples you use DataTable() constructor.
Had undefined field problems (couldn't do the AddRow example ... due to 'add' function being undefined).

you should straighten (make consistent) the examples!

Answers

  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin

    Thanks - I'll update the home page example when I next deploy the site.

    The FAQs detail the difference between the two constructors.

    Allan

This discussion has been closed.