Hi there,
I need help! I used the upload component to upload a dataset and display it on a html.Div component ‘children’. Now I want to know how I can clear the html.Div the current displayed children with a click of a button through a callback? Any suggestion that I can do that?
Thank you
Just change the style attribute of the html.Div component to {“visibility”: “hidden”} in the callback!
Hi louisrivers,
Thank you for your suggestion. I tried that method, but if the page will not reload, the Div will stay hidden. However, if I want to upload another file I still want to see it in the display. Does upload component have a ‘n_clicks’ arguments?
Thank you