FooTable icon indicating copy to clipboard operation
FooTable copied to clipboard

Anyway to turn off the loader?

Open dbateson opened this issue 7 years ago • 3 comments

Hi, Is there anyway to turn off the loader? I have the table populated with static html and its styled the same before and after the plugin initialises. At the minute the table appears on page load and then hides when the plugin initialises then shows again.

I know I could just hide the table with display:none in a style tag to stop the table showing then hiding then showing but then it would add a delay to the table showing and my client wont like that.

Any help appreciated, Thanks

dbateson avatar Oct 18 '17 20:10 dbateson

Hey, I know I'm late to the party, but I've spent the last couple of hours trying to figure out why it would redraw the table with static html, as the examples provided in the footable doc does not. Going over the footable example documents, I noticed the jQuery 1.x branch was used and sure enough, using jQuery 1.x or 2.x does not result in redraws, while using jQuery 3.x does.

mjarlund avatar Feb 25 '18 01:02 mjarlund

Has anyone figured out WHY jQuery 3.x causes the footable to redraw and using jQuery 1.x does NOT?

stevengore avatar Mar 04 '20 15:03 stevengore

If you're referring to the flicker of the table as the original loads, just set the HTML table to display: none in your CSS. When the plug-in loads the table is shown.

That way when the page loads the table is hidden until the plug-in loads it.

sherwinflight avatar Jun 23 '21 06:06 sherwinflight