Table tools v2 xls/csv/pdf

Table tools v2 xls/csv/pdf

claudsanclaudsan Posts: 2Questions: 0Answers: 0
edited July 2013 in TableTools
Only the print button returns all records buttons csv, excel and pdf return only the first page of the table, some extra configuration is needed?

What can be going wrong.

Thank you.

**sorry for my english

[code]
....
"sAjaxSource": "/list/orders",
"aaSorting": [[ 1, "asc" ]],
"sDom": 'T<"clear">lfrtip',
"oTableTools": {
"sSwfPath": "/static/swf/copy_csv_xls_pdf.swf",
"aButtons": [
{"sExtends": "print","sButtonText": "Imprimir","sButtonClass": "btn btn-mini btn-inverse"},
{"sExtends": "pdf","sButtonClass": "btn btn-mini btn-info"},
{"sExtends": "csv","sButtonClass": "btn btn-mini btn-info"}
]
},
...

//datatables 1.9.4
//tabletools 2.1.5
//jquery 1.9.1
[/code]

Replies

  • claudsanclaudsan Posts: 2Questions: 0Answers: 0
    edited July 2013
    add a test, and not fire alert

    [code]
    "fnClick": function( nButton, oConfig, flash )
    {
    alert('clicado pdf 2');
    }
    [/code]
This discussion has been closed.