Nested tables not working with new version of TableTools

Nested tables not working with new version of TableTools

versakversak Posts: 26Questions: 0Answers: 0
edited March 2014 in DataTables 1.10
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)

Replies

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin
    Can you link to a page showing the problem please?

    Allan
  • versakversak Posts: 26Questions: 0Answers: 0
    Here is a sandboxed version with nothing but the table and fake data, but it's the same framework I have in my local site:

    http://www.styleloungellc.com/sandbox/sample.html
  • versakversak Posts: 26Questions: 0Answers: 0
    [code]
    <!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]
This discussion has been closed.