Thanks for your advice. Actually, I cannot use the Infinity Scroll because of the theme layout.
I am instead using the Ajax loading. And before the table loads, I see a “Loading…” text. I want to change that “Loading…” text to an animated gif that I have. How cvan I make this change?