Fadeout overlay

Is there a clean way to fade out a datatable overlay ?

Right now, i’m using css + setTimeout. Dirty hack or not ? ty

Hello @franck34 ,
There are showOverlay() and hideOverlay() methods. To fade out a datatable overlay, you could use the second method during some datatable’s event. For instance, you may use onBeforeLoad() to show an overlay and onAfterLoad() to hide it after the data has loaded.
Check the example: Code Snippet .

ty @MariyaDemy .

I’m speaking about a animated fade out effect.