I am using DataTables with Bootstrap 4 and client side processing. Displaying around 2,000 records.
The loading time is acceptable, however I notice that when I reload the page (F5) I can see an un-formatted DataTable for a split second. It's almost as if DataTables is the last thing to load, and it's quite obvious.
If you look at their 'Zero configuration' example you can see what I mean. When reloading the page you can actually see all the table records for a split second (you have to be quick!).
There is a 'Bootstrap 4' example, also noticeable on that page.
I have a few questions;
- Why does this happen?
- Is there anything I can do to prevent it?
I have tried re-ordering my JS and CSS files (I only have a few) however it has made no difference. My concern is that as I add more records the loading time will increase and the un-formatted DataTable will be more obvious on each page load.