Utilizing DataTables in conjunction with Bootstrap 4 for client-side processing while displaying approximately 2,000 records.
The loading time is acceptable, but upon refreshing the page (F5), I observe an unformatted DataTable briefly appearing. It seems like DataTables is the last element to load, making it quite noticeable.
For a demonstration, check out their 'Zero configuration' example. Upon refreshing the page, you can catch a glimpse of all the table records momentarily (you have to be quick!).
This issue is also apparent in the 'Bootstrap 4' example.
I have a couple of inquiries:
- Why does this occur?
- Is there a way to prevent it?
I've attempted rearranging my JS and CSS files (of which I have few), but it has had no impact. My concern is that as I add more records, the loading time will increase, making the unformatted DataTable more evident with each page load.