No export buttons with TableTools when sRowSelect is multi
No export buttons with TableTools when sRowSelect is multi
ftaurino
Posts: 7Questions: 0Answers: 0
hi all,
when I set TableTools buttons to select_all and select_none with "sRowSelect": "multi"
[code]
"oTableTools": {
"sRowSelect": "multi",
"aButtons": [
{
"sExtends": "select_all",
"sButtonText": "Seleziona tutti"
},
{
"sExtends": "select_none",
"sButtonText": "Deseleziona tutti"
}
],
"sSwfPath": "./datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf"
},
[/code]
the page is ok and the two buttons works normally.
If I add a button to export in csv:
[code]
"oTableTools": {
"sRowSelect": "multi",
"aButtons": [
{
"sExtends": "select_all",
"sButtonText": "Seleziona tutti"
},
{
"sExtends": "select_none",
"sButtonText": "Deseleziona tutti"
},
{
"sExtends": "csv",
"sButtonText": "Esporta in CSV"
}
],
"sSwfPath": "./datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf"
},
[/code]
firebug give me this error:
ZeroClipboard_TableTools is not defined
https://192.168.3.102/dbletture/datatables/extras/TableTools/media/js/TableTools.js
Line 1272
and the page does not render normally!
please help!
francesco
when I set TableTools buttons to select_all and select_none with "sRowSelect": "multi"
[code]
"oTableTools": {
"sRowSelect": "multi",
"aButtons": [
{
"sExtends": "select_all",
"sButtonText": "Seleziona tutti"
},
{
"sExtends": "select_none",
"sButtonText": "Deseleziona tutti"
}
],
"sSwfPath": "./datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf"
},
[/code]
the page is ok and the two buttons works normally.
If I add a button to export in csv:
[code]
"oTableTools": {
"sRowSelect": "multi",
"aButtons": [
{
"sExtends": "select_all",
"sButtonText": "Seleziona tutti"
},
{
"sExtends": "select_none",
"sButtonText": "Deseleziona tutti"
},
{
"sExtends": "csv",
"sButtonText": "Esporta in CSV"
}
],
"sSwfPath": "./datatables/extras/TableTools/media/swf/copy_csv_xls_pdf.swf"
},
[/code]
firebug give me this error:
ZeroClipboard_TableTools is not defined
https://192.168.3.102/dbletture/datatables/extras/TableTools/media/js/TableTools.js
Line 1272
and the page does not render normally!
please help!
francesco
This discussion has been closed.
Replies
Allan
I've included the zeroclipboard.js and now it's working!
f