Get Rid of that DataTables Loading Glitch

Nathan Wells
Level Up Coding
Published in
Feb 1, 2021

--

Add a loading spinner to DataTables without AJAX and get rid of that glitch!

If you’ve ever used DataTables you’ve probably witnessed that double-loading glitch where the user first sees the HTML table load with all the data, and then the table is re-formatted by DataTables and re-sorted.

But since Medium has changed their terms of service and no longer shares profits with small publishers — I’ve moved the solution to https://cloutpub.org/posts/WYP7a4cOAHqUhoVs! Be sure and check it out!

--

--