Buttons not working - swf found
Buttons not working - swf found
TrueDub
Posts: 6Questions: 0Answers: 0
Hi all,
I'm trying to use TableTools on my table - I don't get any 404s, so the SWF is found, but the only button that works is the print one. My HTML imports are as follows:
[code]
[/code]
while my JS code is as follows:
[code] var oTable = jQuery('#helperTable').dataTable({
"sDom": 'T<"clearfix">lfrtip',
"aLengthMenu" : [ [ 10, 25, 50 ], [ 10, 25, 50 ] ],
"bPaginate" : true,
"bFilter" : true,
"bSort" : true,
"bLengthChange" : true,
"bInfo" : true,
"bAutoWidth" : false,
"sPaginationType" : "full_numbers",
"aaSorting" : [ [ 5, "desc" ] ],
"aoColumnDefs" : [ {
"sType" : "date",
"aTargets" : [ 5 ]
}, {
"bVisible" : false,
"aTargets" : [ 6, 7, 8 ]
} ],
"oTableTools": {
"sSwfPath": "/helpers/resources/js/copy_csv_xls.swf"
}
});[/code]
I'm also using the YADCF plugin to generate column filtering - might this be conflicting?
Thanks in advance
TrueDub
I'm trying to use TableTools on my table - I don't get any 404s, so the SWF is found, but the only button that works is the print one. My HTML imports are as follows:
[code]
[/code]
while my JS code is as follows:
[code] var oTable = jQuery('#helperTable').dataTable({
"sDom": 'T<"clearfix">lfrtip',
"aLengthMenu" : [ [ 10, 25, 50 ], [ 10, 25, 50 ] ],
"bPaginate" : true,
"bFilter" : true,
"bSort" : true,
"bLengthChange" : true,
"bInfo" : true,
"bAutoWidth" : false,
"sPaginationType" : "full_numbers",
"aaSorting" : [ [ 5, "desc" ] ],
"aoColumnDefs" : [ {
"sType" : "date",
"aTargets" : [ 5 ]
}, {
"bVisible" : false,
"aTargets" : [ 6, 7, 8 ]
} ],
"oTableTools": {
"sSwfPath": "/helpers/resources/js/copy_csv_xls.swf"
}
});[/code]
I'm also using the YADCF plugin to generate column filtering - might this be conflicting?
Thanks in advance
TrueDub
This discussion has been closed.
Replies
Allan
Thanks for your response, especially on a Saturday!
http://castlemon.com:8080/helpers/tester.do
Some notes that may assist -
app is Spring MVC, but the displayed page is HTML-only
SWF is stored in resources directory for Spring to access, but can be accessed using the coded URL
no 404s are seen, but no functionality is present either
Any help gratefully received!
Allan
A thought - I'm building with Maven, using spring MVC and deploying to Tomcat - I don't think any of these things could be the issue, but I could be wrong?
As an experiment, try including a simple test SWF file in your html and see if that works?
Allan
The HTML-only side is at http://www.castlemon.com/tester.html