table tools csv excel pdf buttons not working

table tools csv excel pdf buttons not working

sreenu539sreenu539 Posts: 10Questions: 2Answers: 0
edited November 2013 in General
I have downloaded "data tables" zip file from data tables website and extracted to my desktop.
Inside extras/tabletools folder, I have changed the index.html file javascript to the following :

[code]
$(document).ready( function () {
$('#example').dataTable( {
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath" : "media/swf/copy_csv_xls_pdf.swf"
}
} );
} );
[/code]

I am sure, it is picking up the swf file but nothing showing up when i click csv, excel or pdf buttons.
I do have flash enabled on my browser, not sure why this is NOT working.

any help is appreciated!

Thank you,
Sri

Replies

  • RdeBoerRdeBoer Posts: 10Questions: 0Answers: 0
    Possibly related to http://datatables.net/forums/discussion/18394/datatools-buttons-show-but-don039t-work-when-there-are-two-tables-on-the-page#Item_3 ?
  • allanallan Posts: 63,107Questions: 1Answers: 10,394 Site admin
    As always, please link to a test case showing the problem. Your code looks fine, so we'd need a link to the page to be able to stand any chance of being able to offer any help! :-)

    Allan
This discussion has been closed.