Multi-Tabs using Datatables and Jquery-ui. Button issues.

Multi-Tabs using Datatables and Jquery-ui. Button issues.

mdcookmdcook Posts: 7Questions: 0Answers: 0
edited June 2011 in General
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?

Replies

  • GregPGregP Posts: 500Questions: 10Answers: 0
    Weird one. Is the site reachable from the public internet? I've been using jQuery UI tabs in general (not in a scenario like yours, I'm afraid) and would be interested in having a look to see if I can help.
This discussion has been closed.