Multi-Tabs using Datatables and Jquery-ui. Button issues.
Multi-Tabs using Datatables and Jquery-ui. Button issues.
I have a peculiar problem with buttons on multiple tables on one page using jquery-ui tabs. The tables have check boxes that allow the user to select rows of interest and then there are buttons on the bottom of the tables that will run some analysis on the selected rows.
The button on a given table will only work if I click on each tab before it. For example, the page loads and defaults to the first tab. Say I want to go to tab 4 (table 4) select some rows and click on the button at the bottom of the table to run an analysis. For that button to work I have to first click on tab 2, then tab 3, then tab 4, or else clicking on the button gives a
"Uncaught TypeError: Cannot read property 'aoData' of null"
If I click through the tabs first it runs correctly.
Anyone know what causes this?
The button on a given table will only work if I click on each tab before it. For example, the page loads and defaults to the first tab. Say I want to go to tab 4 (table 4) select some rows and click on the button at the bottom of the table to run an analysis. For that button to work I have to first click on tab 2, then tab 3, then tab 4, or else clicking on the button gives a
"Uncaught TypeError: Cannot read property 'aoData' of null"
If I click through the tabs first it runs correctly.
Anyone know what causes this?
This discussion has been closed.
Replies