Hello!
Loving the st.beta_columns function so far! In order to present a better layout, instead of having a row of 4 columns (1x4), I’d like to break up the columns into two rows of two columns (2x2).
Sample code for 1x4:
col1, col2, col3, col4 = st.beta_columns(4)
with col1:
selected_col1 = st.multiselect(…)
with col2:
selected_col2 = st.multiselect(…)
with col3:
selected_col3 = st.multiselect(…)
with col4:
selected_col4 = st.multiselect(…)
I cannot make two consecutive calls of (to get 2x2):
col1, col2 = st.beta_columns(2)
col3, col4 = st.beta_columns(2)
Can someone please advise me on how to make multiple rows of columns possible? Thank you very much!