Cant figure it out. TableTools buttons do nothing still!
Cant figure it out. TableTools buttons do nothing still!
Darkenspirit
Posts: 48Questions: 11Answers: 0
in TableTools
http://debug.datatables.net/ixaxot
I fixed my TN/4 error but these buttons still do nothing. On top of that I opened it up in IE9 for the first time and omg it looks like ass and doesnt even work. That aside.
Whats up with these TableTool buttons? I dont think my initialization was wrong or anything...
This discussion has been closed.
Answers
Cant figure it out at all.
I have a swf path set, it can find the flash file. My HTML shows up like this after initalization: (I just have the copy button now to test one button only).
<embed id="ZeroClipboard_TableToolsMovie_1" src="../MSSQL_api/swf/copy_csv_xls.swf" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="49" height="29" name="ZeroClipboard_TableToolsMovie_1" align="middle" allowscriptaccess="always" allowfullscreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="id=1&width=49&height=29" wmode="transparent">
My network shows the file is properly GET but clicking on it does nothing. Can TableTools not find my table? If i paste what it copies, it is just "blank".
http://datatables.net/forums/discussion/13209/tabletools-exporting-buttons-not-working-print-works-see-details-inside
I found that thread but I dont see the lines he is talking about, anything remotely close to that CSS line is already commented out. Please help?
Got it! It was a security exception!
FYI for anyone wondering there are several things you should check for TableTools Export Buttons not working.
If you are using Jquery version, you have to check your z-index and make sure the table element was not hidden. If it was you need to use resize to redraw those elements.
http://datatables.net/forums/discussion/13209/tabletools-exporting-buttons-not-working-print-works-see-details-inside
Make sure your swfpath is set properly,
http://datatables.net/forums/discussion/11726/table-tools-exporting-is-not-working
and also if are you running it as a local file://
You must set a security exception for the Javascript file for tabletools (the API) to access flash stuff.
http://datatables.net/forums/discussion/12816/csv-and-copy-buttons-not-working-not-swf-location-related