Give a default value for st.input and change the height of AgGrid

we can see, in st.number_input, we can set a min and max value.
in some case, we want to set a default value, how can we achieve it?

and can we use a parameter to change the height of AgGrid table, such as height:“100%” or some other parameter?

Hi @BeyondMyself,

setting a value: Please read the docs.
AgGrid height: Please check the source code for available parameter.

1 Like

thank you
import streamlit as st
from st_aggrid import AgGrid