Disabled Buttons
Disabled Buttons
gcr2
Posts: 5Questions: 0Answers: 0
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.
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.
This discussion has been closed.
Replies
thanks,
Allan
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!
I don't really know what's going on...
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]