Footer issues with TableTools

Footer issues with TableTools

0a0d0s00a0d0s0 Posts: 7Questions: 0Answers: 0
edited May 2011 in TableTools
Really good feature, a small issue is that the TableTools feature does not work when the table is in a 'jquery tab' other than the first tab.

Here is an example:
http://www.antonyslinn.com/testing/datatables/extras/tabletoolsTabs.php

Any help here would be great.

Thanks a lot

Antony

Replies

  • 0a0d0s00a0d0s0 Posts: 7Questions: 0Answers: 0
    Update: I upgraded to the beta version (1.8.0.beta.3) and the 'count' and exporting issues are solved. : )

    ...now just the Jquery Tabs to solve. : )
  • 0a0d0s00a0d0s0 Posts: 7Questions: 0Answers: 0
    Thank you for the fix Iksela. This is how Iksela solved it:

    //When using TableTools with DataTables, the flash buttons won't work if the table is hidden at initialisation time. This code solves that.
    $(function(){
    $("#tabs").tabs({
    show: function(ui, event) {
    ttInstances = TableTools.fnGetMasters();
    for (i in ttInstances) {
    if (ttInstances[i].that.fnResizeRequired()) ttInstances[i].that.fnResizeButtons();
    }
    }
    });
    });
This discussion has been closed.