I'm using jQuery DataTables plugin to construct tables and use the sDom
option to have "Export to Excel" functionality with the .swf (copy_csv_xls.swf
) file.
I build the table and this functionality works find without any issues. The issue comes when I use them in "tabs". I use Bootstrap vertical tabs and have a datatable in each tab. Whenever the tab is clicked, I had to reDraw the tables because of the alignment problem. I believe the "reDraw" is not creating issue. What happens is, when the data is populated in "Tab 1" with "Tab 1" being active, the "Export" works, but if the data is populated in "Tab 2", then the "Export" in Tab 2 doesn't work. The event itself is not firing.
Can anyone please tell me what would be the issue? Is there a solution or alternate option for this?