Nested tables not working with new version of TableTools
Nested tables not working with new version of TableTools
versak
Posts: 26Questions: 0Answers: 0
I've upgraded to the latest version of DataTables (1.10 beta 2) and TableTools (2.2.0), and now the copy/export functions of TableTools no longer work with nested tables. I tested my code many ways to be sure it wasn't my issue but the only thing that worked was reverting back to the older versions of both DT a& TT.
(love the look and feel of the new site, btw)
(love the look and feel of the new site, btw)
This discussion has been closed.
Replies
Allan
http://www.styleloungellc.com/sandbox/sample.html
<!DOCTYPE html>
tempsandbox
Detailed Employee Report:
Test Name
Flag Details
ONE Flags
cell one
Sub Table One
TestTESTING
TestTESTING
TestTESTING
TestTESTING
TestTESTING
TWO Flags
flag name
Sub Table Two
TestTESTING
TestTESTING
TestTESTING
TestTESTING
TestTESTING
$(function(){
$("#employeeReportTESTID").dataTable({
"sDom": 'T<"clear">t',
"bDestroy": true,
"oTableTools": {
"sSwfPath": "datatables-1.10/TableTools/swf/copy_csv_xls_pdf.swf",
"aButtons": [
{
"sExtends": "copy",
"sButtonText": "Copy to clipboard"
},
{
"sExtends": "csv",
"sButtonText": "Save to CSV"
},
{
"sExtends": "xls",
"sButtonText": "Save for Excel"
},
{
"sExtends": "pdf",
"sButtonText": "Save as PDF"
}
]
}
});
});
[/code]