How do i download the dataframe live fromm this dash plotly with a loader

Hi @Lucifer do I understand you correctly?

  • you want to load data from the database
  • after this is finished, you want to show a button
  • after the button click, something should get downloaded

Concerning the button: You could have it in your layout and set hidden=True initially. Once the data is loaded, you could chnage te visibility of the button. An example:

You could also create the button dynamically, some examples for this can be found here:

Concerning the “loader” you can find a generic example here: