I get it like this : var sSwfPath_location =
"{{=URL('static','plugin_added/DataTables-1.8.1/extras/TableTools/media/swf/copy_cvs_xls_pdf.swf')}}"

And replace :

 "sSwfPath": "{{=URL('static','plugin_added/DataTables-1.8.1/extras/
TableTools/media/swf/copy_cvs_xls_pdf.swf')}}"

With

 "sSwfPath": sSwfPath_location

@ Vineet : It could work maybe for your issue...

Richard

On Thu, Aug 4, 2011 at 5:36 PM, Richard <ml.richard.vez...@gmail.com> 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')}}"
>                },
>    } );
> } );
>
> Seems the same problem that Vineet report here :
>
> http://stackoverflow.com/questions/6476133/json-data-for-jquery-datatable-in-web2py
>
> Is it possible??
>
> Thanks
>
> Richard
>
>
>

Reply via email to