Hi guys,
I was wondering whether there was a way to nest st.beta_expander
within st.beta_expander
?
I assume not as I’ve got this message:
… But who knows, there may be a hack!
Thanks,
Charly
Hi guys,
I was wondering whether there was a way to nest st.beta_expander
within st.beta_expander
?
I assume not as I’ve got this message:
… But who knows, there may be a hack!
Thanks,
Charly
Ahah nope sorry no hack for now maybe in the future…
You could still get away with the “Hide with checkbox” though:
import streamlit as st
with st.beta_expander("Hi Charly"):
if st.checkbox("Fake expand"):
st.write("Hello world")
Fanilo
I like it, thanks Fanilo!