Buttons Blue and no export inside tabs?
Buttons Blue and no export inside tabs?
dgodfather
Posts: 4Questions: 2Answers: 0
Tab on page does not work:
http://fitapproach.com/campaign-dashboard/?entry=11989
Direct link works:
Example: http://fitapproach.com/campaign-dashboard/?entry=11989#2364d734ebb54ef3e
Why and how to fix it?
This discussion has been closed.
Answers
Because the table is hidden when it is initialised you need to call the
fnResizeButtons
API method to have the Flash button fill the visible button when it is made visible. You'd need to listen for whatever event the tab control emits when that happens.There is an example of this for the new Buttons extension's Flash module (that API isn't applicable here since you are using TableTools, but it demonstrates the idea).
Other options are to update to Buttons and use the Flash module, or use the HTML5 export module which doesn't have that issue, but does require IE10+ or any of the other evergreen browsers.
Allan
My latest script as shown above isn't working. Any suggestions?
Is the table actually visible at the point when
oTableTools.fnResizeButtons();
runs? A breakpoint or additional debug code would be able to check that.Allan