You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
does not get triggered but changing onGridReady to onCellClicked works. Upon digging into the code, I noticed that when instantiating the <AgGridReact> component (src), onGridReady is explicitly passed in as a react prop. This will overwrite whatever value passed in by the user in gridOption (src).
This prevents downstream streamlit apps from hooking into this event, which I think severely limits customization (such as setting default filters based on other streamlit components.
I think the field passed in by the user in gridOption should be chained to the one defined defined in the React component provided by this library.
The text was updated successfully, but these errors were encountered:
I noticed that passing onGridReady handler in
does not get triggered but changing
onGridReady
toonCellClicked
works. Upon digging into the code, I noticed that when instantiating the<AgGridReact>
component (src),onGridReady
is explicitly passed in as a react prop. This will overwrite whatever value passed in by the user in gridOption (src).This prevents downstream streamlit apps from hooking into this event, which I think severely limits customization (such as setting default filters based on other streamlit components.
I think the field passed in by the user in gridOption should be chained to the one defined defined in the React component provided by this library.
The text was updated successfully, but these errors were encountered: