Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82109

Missing Settings Objects On Initial Page Load

$
0
0
Hello DataTables Community,

I have an interesting one for you all today. I have a page that contains 11 separate tables that I am using the DataTables plugin with. There is one on the main page, and the others are displayed in jquery dialogs when a button is clicked. Before you ask, this is for an enterprise application hosted on the companies intranet, so I can not offer a link to view unfortunately.

The problem seems to only occur after the browsers cache has been cleared, and the application is opened for the first time. I am logging the
'$.fn.dataTableSettings' array of objects and only 9 of the 11 tables have settings objects. This causes interesting visual bugs like preventing the jquery dialog to appear, and tables showing up in the wrong areas, etc.

Once the application is loaded for the first time, if you refresh the browser it works fine, as all 11 tables are initialized and have settings objects.

The interesting thing is, the missing settings objects are different for different individuals. On my PC I am missing the 'tblSubmitDocMgmt' and 'tblLoansReadyForDoc' while a co-worker is missing 'tblSubmitDocMgmt' and 'tblMain'.

Another piece of (maybe) relevant info is that I am using Google Chrome Frame and running this in an IE 8 browser. I am unable to re-create this when running in Google Chrome.

Anyone else run into missing settings objects on initial page load? Maybe I am trying to initialize too many datatables at the same time? Would it be better to initialize the datatables in the jQuery dialogs only when the dialog displays? Instead of all at once?

The function I am using to initialize all of the tables is in the next post (exceeded char limit)

Please excuse any blatantly n00bish code.

Thank you.

Viewing all articles
Browse latest Browse all 82109

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>