ColVis two tables example broken

ColVis two tables example broken

496496 Posts: 3Questions: 0Answers: 0
edited September 2012 in Bug reports
http://datatables.net/release-datatables/extras/ColVis/two_tables_identical.html
http://datatables.net/release-datatables/extras/ColVis/two_tables_identical.html

Both produce the JavScript error "TypeError: oColumn is undefined @ http://datatables.net/release-datatables/media/js/jquery.dataTables.js:6654"

Replies

  • allanallan Posts: 63,687Questions: 1Answers: 10,500 Site admin
    Interestingly this actually works perfectly with the latest DataTables and ColVis nighties ( http://datatables.net/download ). Could you try with the latest nighties please?

    Thanks,
    Allan
  • 496496 Posts: 3Questions: 0Answers: 0
    It seems that there is something in this website's header that is preventing the example working.

    If the "fw_header" header div is deleted, everything works as expected (regardless of whether you're using stable/nightlies).
  • 496496 Posts: 3Questions: 0Answers: 0
    Note that Chromium gives a slightly different error to Firefox (but on the same line):

    Uncaught TypeError: Cannot read property 'asSorting' of undefined
This discussion has been closed.