Footer issues with TableTools
Footer issues with TableTools
0a0d0s0
Posts: 7Questions: 0Answers: 0
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
Here is an example:
http://www.antonyslinn.com/testing/datatables/extras/tabletoolsTabs.php
Any help here would be great.
Thanks a lot
Antony
This discussion has been closed.
Replies
...now just the Jquery Tabs to solve. : )
//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();
}
}
});
});