Disabled Buttons

Disabled Buttons

gcr2gcr2 Posts: 5Questions: 0Answers: 0
edited January 2011 in TableTools
Hi all,

I've been trying to use TableTools just with the web example. I can see the toolbar but all the buttons are disabled except print button.

has anybody this problem?

Thanks in advance,

gus.

Replies

  • gcr2gcr2 Posts: 5Questions: 0Answers: 0
    I can not see any problem with Firebug. All I can see is that when I hover print button appears the class TableTools_print_hover but it does not work with the others buttons...

    thanks,
  • allanallan Posts: 61,438Questions: 1Answers: 10,052 Site admin
    Most likely the SWF hasn't been loaded. The Flash SWF provides the ability to save files and copy to clipboard - you need to set the swf path using something like: TableToolsInit.sSwfPath = "/media/swf/ZeroClipboard.swf";

    Allan
  • gcr2gcr2 Posts: 5Questions: 0Answers: 0
    Hi,

    I have this on my javascript code:

    $(document).ready( function () {
    TableToolsInit.sSwfPath = "/media/swf/ZeroClipboard.swf";
    $('#example').dataTable( {
    "sDom": 'T<"clear">lfrtip'
    } );
    } );

    What is weird is that I can make it work through the web http://www.datatables.net/release-datatables/extras/TableTools/. It means I think that I have the correct flash software.

    Thanks!
  • videmorvidemor Posts: 1Questions: 0Answers: 0
    Hola, tengo el mismo problema, los botones se encuentran deshabilitados, he probado de muchas maneras y no logro encontrar la raz
  • gcr2gcr2 Posts: 5Questions: 0Answers: 0
    Still does not work...sorry...

    I don't really know what's going on...
  • gcr2gcr2 Posts: 5Questions: 0Answers: 0
    Hi all,

    I am trying to make it works...but I don't know it keep doing nothing.

    With IW I get the Exception 'Unable to load SWF file - please check the SWF path' but after changing th path several times...it does not work..

    here is the code that I use (I've checked all files in the right place...):

    [code] TableTools example





    $(document).ready( function () {
    $('#example').dataTable( {
    "bJQueryUI": true,
    "sPaginationType": "full_numbers",
    "sDom": '<"H"Tfr>t<"F"ip>',
    "oTableTools": {
    "sSwfPath": "media/swf/copy_cvs_xls_pdf.swf",
    "aButtons": [
    "copy", "csv", "xls", "pdf",
    {
    "sExtends": "collection",
    "sButtonText": "Save",
    "aButtons": [ "csv", "xls", "pdf" ]
    }
    ]
    }
    } );
    } );

    [/code]
This discussion has been closed.