TableTools Print, Copy, Excel, PDF, CSV Buttons Not Behaving As Expected

TableTools Print, Copy, Excel, PDF, CSV Buttons Not Behaving As Expected

nycxavnycxav Posts: 3Questions: 0Answers: 0
edited February 2014 in TableTools
Hi,

I just installed the version 1.9.4 of dataTables and 2.2.0 of TableTools and I have a strange behavior of TableTools.
The buttons are displayed and I don't have console errors.
Print works as expected even though the mouse pointer doesn't change when rolling over it.
Excel, PDF and CSV button don't trigger mouse pointer change either and no nothing when clicked.
Copy does trigger the mouse pointer change and exports to PDF actually, which seems to indicate that the swf path is ok.
Anyone else with that problem?

Thanks.

Replies

  • allanallan Posts: 63,488Questions: 1Answers: 10,467 Site admin
    Please link to a test case showing the problem, as required in the forum rules. It does sound like an SWF issue, but I can't say any more, since I don't know without a test case!

    Allan
  • nycxavnycxav Posts: 3Questions: 0Answers: 0
    edited March 2014
    Hi Allan,

    Thanks for your reponse and sorry for not following the rules (new here).
    The problem can be seen at http://asset2014.whyhere.cirrusvps.ca/asset-map/why-here-asset-list

    Regards.
    Xav.
  • allanallan Posts: 63,488Questions: 1Answers: 10,467 Site admin
    Looks like you need to include the TableTools CSS file: https://github.com/DataTables/TableTools/blob/master/css/dataTables.tableTools.css

    Allan
  • nycxavnycxav Posts: 3Questions: 0Answers: 0
    Allan,
    It looks like it did did the trick thanks.
    Quick questions though:

    1) The Excel button seem to be exporting as csv, same as the csv button. Is that expected?
    2) is there a limit to the size of the table? I have about 3000 records and when I add more that 4 columns nothing is displayed.

    Thanks.
    Xav.
  • allanallan Posts: 63,488Questions: 1Answers: 10,467 Site admin
    > 1) The Excel button seem to be exporting as csv, same as the csv button. Is that expected?

    Yes. See the discussion here: http://datatables.net/forums/discussion/4043/export-to-excel-wrong-extention-.csv./p1 .

    > 2) is there a limit to the size of the table? I have about 3000 records and when I add more that 4 columns nothing is displayed.

    There isn't anything hardcoded into DataTables. I've noticed that Flash gets really slow with larger tables, but there shouldn't be a limit to the size of the export - it just takes longer. Can you link use to a test case?

    Allan
This discussion has been closed.