TableTools 2.0.0 Issue

TableTools 2.0.0 Issue

prabhakaranprabhakaran Posts: 6Questions: 0Answers: 0
edited March 2013 in TableTools
Dear Mr.Allan,

I would like to thank very much for the great innovation. Really i liked it. Now am becoming a great fan of you. I need your help to sort out a problem.

I just downloaded the file version named as TableTools-v2.0.0 from datatables.net web site.

When am trying to execute it, am getting below listed errors.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB7.4; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; BRI/2; .NET4.0C; .NET4.0E; AskTbORJ/5.15.15.36191)
Timestamp: Tue, 5 Mar 2013 11:09:38 UTC


Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: file:../media/js/jquery.js


Message: Invalid character
Line: 1
Char: 1
Code: 0
URI: file:../media/js/jquery.dataTables.js


Message: 'jQuery' is undefined
Line: 16
Char: 1
Code: 0
URI: file:../TableTools-2.0.0/media/js/TableTools.js


Message: Object expected
Line: 18
Char: 4
Code: 0
URI: file:../TableTools-2.0.0/swf_path.html

Please help me to sort out this issue.

Replies

  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin
    TableTools 2.0.0 is out of date and no longer supported. Please use the current release from the downloads page: http://datatables.net/download . If that doesn't work for you, please post a link to your page.

    Allan
  • prabhakaranprabhakaran Posts: 6Questions: 0Answers: 0
    Thank you very much for your quick reply. But i have downloaded the latest version 2.1.5 from http://datatables.net/download/. Also i have downloaded DataTables-1.9.4 and its working fine.there is no issues in it. Only i need export option to export into CSV/XLS/PDF.

    Please help me on this.
  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin
    TableTools 2.1.5 has that ability.

    Please post a link to your page.

    Allan
  • prabhakaranprabhakaran Posts: 6Questions: 0Answers: 0
    i have used the latest version 2.1.5 also... some error as menton in my first post...
    Please help me on this...
  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin
    Please post a link to your page.
  • prabhakaranprabhakaran Posts: 6Questions: 0Answers: 0
    am sorry to disturb you..

    Please let me know the pre-requisites for this version.

    Am trying to implement this in PHP Application and its an Intranet Application. In some of the system we dont have internet connections.

    If i post this link in my page, then it wont work in those systems. your help on this issue is highly appreciated.

    Thanks in advance..

    K.Prabhakaran
  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin
    > Please let me know the pre-requisites for this version.

    jQuery 1.7+
    DataTables 1.9+

    Can you at least tell me if you are getting Javascript errors and show the initialisation code you are using? Simply saying 'it doesn't work' is never going to let me help fix it.

    Allan
  • prabhakaranprabhakaran Posts: 6Questions: 0Answers: 0
    The issue caused because of the file path mapping now its working and all the buttons are displayed, also i dont have javascript error now.
    Now am able to click Print button only. But am not able to generate PDF/CSV/Copy/XLs functionalities.

    Below are the codes which i used.


    @import "media/css/demo_page.css";
    @import "media/css/demo_table.css";
    @import "media/css/TableTools.css";






    $(document).ready( function () {
    $('#example').dataTable( {
    "sDom": 'T<"clear"><"H"lfr>t<"F"ip>' //'T<"clear">lfrtip'
    } );
    } );
  • allanallan Posts: 63,494Questions: 1Answers: 10,470 Site admin
    > Now am able to click Print button only

    Set the SWF path: http://datatables.net/release-datatables/extras/TableTools/swf_path.html
  • prabhakaranprabhakaran Posts: 6Questions: 0Answers: 0
    Thank you very much Allan....I got the things...everything is working fine now...:)

    Thank you for your great support...

    Cheers.... :)

    K.Prabhakaran
This discussion has been closed.