PDF, CVS Button doesnt work with editor ?
PDF, CVS Button doesnt work with editor ?
i have this on my tabledata initialisation all buttons all working except the PDF and CSV button ?
[code]$('#marcas').dataTable( {
"sDom": "Tfrtip",
"sAjaxSource": "php/table.marcas.php",
"aoColumns": [
{
"mData": "id_marca"
},
{
"mData": "marca"
}
],
"oTableTools": {
"sRowSelect": "single",
"aButtons": [
{ "sExtends": "editor_create", "editor": editor },
{ "sExtends": "editor_edit", "editor": editor },
{ "sExtends": "editor_remove", "editor": editor },
{ "sExtends": "pdf", "sPdfOrientation": "landscape","sPdfMessage": ""},"csv", "print"
]
}
} );
[/code]
can someone help me with this ?
[code]$('#marcas').dataTable( {
"sDom": "Tfrtip",
"sAjaxSource": "php/table.marcas.php",
"aoColumns": [
{
"mData": "id_marca"
},
{
"mData": "marca"
}
],
"oTableTools": {
"sRowSelect": "single",
"aButtons": [
{ "sExtends": "editor_create", "editor": editor },
{ "sExtends": "editor_edit", "editor": editor },
{ "sExtends": "editor_remove", "editor": editor },
{ "sExtends": "pdf", "sPdfOrientation": "landscape","sPdfMessage": ""},"csv", "print"
]
}
} );
[/code]
can someone help me with this ?
This discussion has been closed.
Replies
Allan
yes i have an error 404 :
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost/ambiauto/Stock/testes/media/swf/copy_csv_xls_pdf.swf
where i can find the swf file ?
regards,
Mario Vital
Regards,
Allan
thz Allan