TableTools not working in Safari 5.1.7

TableTools not working in Safari 5.1.7

kgagnekgagne Posts: 3Questions: 0Answers: 0
edited December 2012 in TableTools
Hello,

I have installed the WordPress plugin TablePress, which uses DataTables and TableTools:

http://wordpress.org/extend/plugins/tablepress/

I am calling it on this page:

http://juiced.gs/index/

via this shortcode:

[code][table id=1 datatables_tabletools=true /][/code]

In Chrome 23, Firefox 3.6.28, Firefox 12, and Safari 6.0.2, this code produces a table with sortable columns, PDF export, a search field, and all the other options I would expect from TableTools. But in Safari 5.1.7, none of those features are present. Only by removing the datatables_tabletools=true parameter can I get any functionality, such as sortable columns.

I was informed this may be a problem with TableTools instead of TablePress. Any idea if this is indeed the case, and what a workaround might be, other than updating Safari? (5.1.7 is as far as it'll go under the Snow Leopard OS)

-Ken

Replies

  • allanallan Posts: 54,688Questions: 1Answers: 8,553 Site admin
    Using Safari 5.1.7 (7534.57.2) it seems to work just fine for me. I can copy to clipboard, save files etc.

    Sounds like you might be getting an error somewhere. What does Safari's console show?

    Allan
  • kgagnekgagne Posts: 3Questions: 0Answers: 0
    Allan,

    Thanks for the reply. This is what the error console in Safari 5.1.7 (6534.57.2) shows me:

    [code]TypeError: 'null' is not an object (evaluating 'this.s.dt.bJUI') — TableTools.min.js:34[/code]
  • allanallan Posts: 54,688Questions: 1Answers: 8,553 Site admin
    Okay, I'll need a link to a test page to be able to help much. That's not an error I recognise.

    Allan
  • kgagnekgagne Posts: 3Questions: 0Answers: 0
    Allan,

    Sorry, but I'm not sure I understand. What sort of test page can I provide?

    -Ken
  • AA23AA23 Posts: 13Questions: 0Answers: 0
    Does anybody got the Button issue resolved in TableTools ????
    I also implemented the same thing but there is no action when i click on the buttons.
    What should I do . Please suggest me something I stuck
  • AA23AA23 Posts: 13Questions: 0Answers: 0
    Please somebody reply .......
    My code is
    $('#table1').dataTable( {
    "bJQueryUI": true,
    /* "sPaginationType": "full_numbers", */
    "bProcessing": true,
    "bServerSide": true,
    "bDestroy": true,
    "bAutoWidth": true,
    "sScrollX": "940px",
    //"sScrollY": "250px",
    "bScrollCollapse": true,
    "aoColumns": [
    null,
    null,
    null,
    null,
    null,
    null,
    { "bSortable": false }
    ] ,
    "sDom": 'T<"clear"><"H"lfr>t<"F"ip>',
    "oTableTools": {
    //"sSwfPath": "/public/swf/ZeroClipboard.swf",
    "sSwfPath": "//swf/copy_csv_xls_pdf.swf",
    "aButtons": [
    "copy",
    "csv",
    "xls",
    {
    //"sExtends": "collection",
    "sExtends": "pdf",
    "sTitle": "Report Name",
    "sPdfMessage": "Summary Info",
    "sPdfOrientation": "landscape",
    //"sSwfPath": "/swf/ZeroClipboard.swf",
    "fnClick": function( nButton, oConfig ) {
    this.fnPrint( true, oConfig );
    },
    "print"
    ]

    },
    "sAjaxSource": url,
    "fnServerData": function ( sSource, aoData, fnCallback ) {
    // Add some extra data to the sender
    //aoData.push();
    $.ajax( {
    "dataType": 'json',
    "type": "POST",
    "url": sSource,
    "data": aoData,
    "success": fnCallback
    } );

    }

    });
  • AA23AA23 Posts: 13Questions: 0Answers: 0
    Please if anybody can help please suggest your review on the above code ...

    The buttons of TableTools are getting displayed but nothing is happening on clicking on them,
  • bacarbacar Posts: 1Questions: 0Answers: 0

    Hi Aallan,

    Please i need your help, i got this error in my project and its make a lot of trouble,i need your help to fix it. TypeError: this.s.dt is null if ( this.s.dt.bJUI ) on line 657 and 34 in the minify file.

    This is the project link http://techno-serviceskm.org/sms/
    username : bacar@sms.com
    pass:12345678

    Thanks,
    Bacar

This discussion has been closed.