Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! ✅Check out the new docs.

Dash table that clears on callback

Just to be clear here, I’m not talking about the data table experiment, just the plain ol’ html.TR,Th, and TD table.

My table currently takes some time to load when I change one of the drop-down that populates it.

I was wondering if there is a way to clear, or show loading status, on the table during a callback so that it is more obvious to users that the table is refreshing for a new drop-down selection.

This isn’t possible on the per-component level but it is possible on an app-level. See 📣 Dash Loading States for a discussion and an example.

See my solution in another post here.