HTML table shows for split second before Datatable is rendered
HTML table shows for split second before Datatable is rendered
sprockett
Posts: 12Questions: 0Answers: 0
Hi, when i load the page, the HTML table is shown for a quick second, before the Datatable is rendered over it.
What is the best way to smoothly display ONLY the datatable (ie. do not display the HTML table first, and only render the datatable?
Thanks!
What is the best way to smoothly display ONLY the datatable (ie. do not display the HTML table first, and only render the datatable?
Thanks!
This discussion has been closed.
Replies
This works to a certain extent, but there is still a "flicker" where the page is blank, and then the datatable appears.
Is there a more elegant solution?
Thanks!
There is no trivial solution though I'm afraid. The browsers have to walk a fine line between showing content as quickly as possible and not showing the FOUC (styled or scripted). The best way is to optimised your site as much as possible (use page speed for example and aim for all As :-) ).
Allan