ajax after print the table can't sort again

ajax after print the table can't sort again

lihailihai Posts: 15Questions: 0Answers: 0
edited January 2013 in TableTools
My table use ajax to get the data.I use the tabletools to print my table.After I esc the print I found that the table can't sort again.The bug is in the IE8.When I use firefox it works well.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Link to a test case please.

    Allan
  • lihailihai Posts: 15Questions: 0Answers: 0
    OK.I word out it.Ichange the tabletools.js's code.In the function of "_fnPrintScrollStart".I change that:
    //nTheadSize = oSetDT.nTHead.cloneNode(true);
    //oSetDT.nTable.insertBefore( nTheadSize, oSetDT.nTable.childNodes[0] );
    nTheadSize = $(nScrollHeadTable).html();
    $(oSetDT.nTable).append( nTheadSize);


    That make my work good.
This discussion has been closed.