Hi there,
I use the new download button (way better then use some custom functions) and after using it to download e.g. data the app reloads and the output is gone. Is there any way to keep the generated output (not reload the app) and use the download button? Maybe some combination with forms?
I am working on an app to get some data from Google Trends. After a button click some queries, data processing and output happens.
I want to give the ability to download some tables (DataFrames) during the exploration of the data. When the user clicks the download button (0.88.0 Release Notes, blue outlined button in screenshot) the app reruns and the generated data and output is gone… until the user clicks the “start” button (st.button) again (triggers query and output).
Maybe I can catch that rerun with auto set the button variable to True and cache the query function.
I was wondering if there is some possibility to not rerun the app when the native download button is clicked. You pointed out that that behaviour is normal and expected like the other widgets…