Is there any way to use st.data_editor and make the height in a way that it displays the entire dataframe with all the rows?
st.data_editor(
positions_data.reset_index(drop=True),
disabled=True, # Disabling editing for the entire table
hide_index=True,
height=len(positions_data.reset_index(drop=True)) * 36# Adjusting height
)
I did this after lots of adjusting but it is dynamic is some way when the number of rows get changed.