What's happening when .dataTables does nothing at all?

What's happening when .dataTables does nothing at all?

bimarguliesbimargulies Posts: 13Questions: 0Answers: 0
edited April 2011 in General
So, on one of my pages, I now have a completely happy data tables table using data from json.

On another one of my pages, I set out to do something much simpler: use dataTables to decorate a table with static content.

Well, my $(document) code call .dataTables with some simple options (just jquery UI), and no errors are seen, and no calls to _fnLog in datatables, but no styles are applied to the table. It's as if nothing at all happened.

Replies

  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    Any errors in the Javascript console? Also, are you sure that your jQuery selector is picking up the table?

    Allan
  • bimarguliesbimargulies Posts: 13Questions: 0Answers: 0
    Oh, dear, it did get past the selector, I can't spell. Sorry for the noise.
This discussion has been closed.