On Thursday, August 4, 2011 5:36:13 PM UTC-4, Richard wrote:
>
> Hello, 
>
> I try to do this : 
>
> $(document).ready(function() { 
> $('table.sortable').dataTable( { 
> "sDom": '<"H"Tfr>t<"F"ip>', 
> "oTableTools": { 
> "sSwfPath": "{{=URL('static','plugin_added/DataTables-1.8.1/extras/ 
> TableTools/media/swf/copy_cvs_xls_pdf.swf')}}"

 
Is the line break after "extras/" in your original code? If so, that should 
be causing a syntax error in the web2py view rendering. If you remove that 
line break, web2py should fill in the URL properly. If it still doesn't 
work, it probably has something to do with not setting up DataTables 
properly.
 
Anthony
 

Reply via email to