Refresh entire tab on button click

My app displays several dataframes to the user. The app:

  1. Reads all filenames
  2. Generates previews for each file
  3. Displays these to the user

I want the user to be able to add files with upload or delete files (implemented as a dropdown selection + submit button).

Upload/deletion works fine, but I canโ€™t figure out how to get the UI to refresh to account for the changed list of files.

Files are rendered as an accordion with three dataframes under each accordion. I canโ€™t use the update syntax because accordions are not valid inputs/outputs.

Is there a way to trigger a refresh of a specific tab?

2 Likes

Good luck on your project. I guess itโ€™s better to share some parts of it. That would help expand our understanding of the problem at hand and may be we can give a better solution.

1 Like