setCharSet() not found

setCharSet() not found

akreiderakreider Posts: 33Questions: 0Answers: 0
edited August 2010 in TableTools
I am trying to use the latest version of TableTools (2.0.0 beta) that comes with the new 1.7.1 Datatables. However Firebug gives me an error that the function setCharSet() is not found.

TableTools 1.1.4 also had this problem, so I went back to using 1.1.1 which works fine.

I'm using jQuery 1.4.2

Replies

  • allanallan Posts: 61,723Questions: 1Answers: 10,108 Site admin
    The version of TableTools included in the DataTables 1.7.1 download should be 1.1.4. I've just downloaded it and checked and this appears to be the case. TableTools 2 isn't quite ready yet, so can I ask, where did you download it from? (wondering if I'm made a packaging error somewhere).

    Allan
  • akreiderakreider Posts: 33Questions: 0Answers: 0
    If you download the regular package (http://datatables.net/releases/DataTables-1.7.1.zip), the min.js file is TableTools 2.0.0 dev - but the regular .js file is TableTools 1.1.4.

    The problem still exists if I use TableTools 1.1.4.
  • allanallan Posts: 61,723Questions: 1Answers: 10,108 Site admin
    Ah - I think that there is a packaging error with that release, just the version name. It looks like the min file has been given the wrong version - it is actually 1.1.4. Sorry about that - I'll repackage it shortly.

    Regarding the problem with setCharSet: do you see that problem in your browser when using the demo: http://datatables.net/release-datatables/extras/TableTools/ ? Is the version of ZeroClipboard that is included that one that comes with TableTools? There are a few customisations (such as that function) over the regar ZeroClipboard script.

    Regards,
    Allan
  • akreiderakreider Posts: 33Questions: 0Answers: 0
    Including the ZeroClipboard.js file solved the problem.
This discussion has been closed.