Flash Error #1063

Flash Error #1063

aurelienchenetaurelienchenet Posts: 1Questions: 0Answers: 0
edited June 2012 in TableTools
Hello everybody,

I've got a strange error when I'm using the copy option on tabletools :
When I'm clicking on the copy button, I've got the following message :
"ArgumentError: Error #1063: Argument count mismatch on ZeroClipboard/addCallbacks Expected 0, got 1"

[code]
var oTable = $("#listeFS").dataTable( {
"aaSorting" : [ [ 0, "asc" ],[ 1, "asc" ] ], // gestion du tri initial
"aoColumns" : [
null,//{"sType" : "eu_date"}, // définir la règle de tri de la premiere colonne (date)
null, null, null, null, null, null ],
"oLanguage" : { // personnalisation des textes
"sLengthMenu" : "Afficher _MENU_ fiches par page",
"sZeroRecords" : "Aucun résultat",
"sInfo" : "Fiches de _START_ à _END_ sur _TOTAL_",
"sInfoEmpty" : "Plan d'action 0 à 0 sur 0",
"sInfoFiltered" : "(filtrées sur _MAX_ fiches au total)",
"sSearch" : "Rechercher",
"sUrl" : "",
"oPaginate" : {
"sFirst" : "Début",
"sPrevious" : "Précédent",
"sNext" : "Suivant",
"sLast" : "Fin"
}
},
//"bJQueryUI": true, // activer effet jquery ui
"sDom" : 'iTC<"clear">frtlp', // pouvoir supprimer / ajouter des colonnes
"sSwfPath" : "media/swf/copy_cvs_xls_pdf.swf", //place du fichier swf (? fonctionne pas trop)
"oColVis" : {
"buttonText" : "Choisir les colonnes", //libellé bouton suppr / ajout de colonne
"activate" : "mouseover" // ouvrir la liste des colonnes on mouse over
},
"iDisplayLength": 20,
"bLengthChange": true,
"aLengthMenu": [20, 50, 100],
"oTableTools" : {
"aButtons" : [ {
"sExtends" : "copy",
"sButtonText" : "Copier"
}, {
"sExtends" : "xls",
"sButtonText" : "Excel"
}, {
"sExtends" : "pdf",
"sPdfOrientation" : "landscape",
"sPdfMessage" : "",
"sButtonText" : "PDF"
}, {
"sExtends" : "print",
"sButtonText" : "Imprimer"
} ]
}
});
[/code]

Print, Excel are Ok, but Copy is KO :(
Have you some idea ?

Thanks a lot !

Replies

  • allanallan Posts: 63,680Questions: 1Answers: 10,498 Site admin
    That's odd. Can you link me to a page which is showing the error please?

    Thanks,
    Allan
This discussion has been closed.