Controlling when the "processing" message is shown
Controlling when the "processing" message is shown

I've set the "processing" option to true on some tables that take a bit of time to load. However, I noticed that the processing message also flashes for a fraction of a second when sorting the table, which is unnecessary and a bit annoying. Is there a way to have it display only on loading, but not on sorting?
This discussion has been closed.
Answers
Yep, if you're using
serverSide
, that message will appear whenever the server is contact. There's no api method to disable it, but you could just remove the processing element from the DOM, like this: http://live.datatables.net/polepiya/1/editColin
I'm not using serverSide but the message was still showing on a sort. I never would have thought of removing it from the DOM but that worked fine. Thanks.