Hello everyone.
I have a text_input created with no values and disabled.
After selecting a row in my AgGrid table, I would like that field to receive the new value from the AgGrid table.
grid_table = AgGrid(df_planting,
gridOptions=gridoptions,
update_mode=GridUpdateMode.SELECTION_CHANGED,
allow_unsafe_jscode=True,
height=300,
theme=AgGridTheme.BALHAM)
sel_row = grid_table["selected_rows"]
grower_name_input = st.text_input(label="Grower Name", disabled=True, key='teste_in')
if len(sel_row) == 1: #selection from aggrid table
row_dict = sel_row[0]
grower_name_input =row_dict.get('grower_id')```
Thank you guys for your support!