New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting AggGrid's state #14
Comments
I have a similar question. Is there a way to get the modified data back in python |
check the example folder (e.g. two_grids.py)
|
The feature to save grid's current state is not implemented yet. So, it can be done. Unfortunately, I'm lacking the time to dig into this.. |
This issue was closed as completed, is it completed? I think leaving this one open would make sense until it is actually implemented. I would very much find this feature useful. |
Hi. Was this feature implemented. Would you suggest what to edit in J's code to make this work? |
Hey @PablocFonseca, thank you for such an amazing job on integrating AggGrid in Streamlit, I highly appreciate the efforts and happy to contribute if there are any known issues that need help from python side of things.
One task I am having hard time to wrap my head around is getting AggGrid state after a user interacts with it.
I.e., I have a multi-select to keep grouping consistent between page reloads or new data push.
Now say a user groups by an additional column using AggGrid groupby feature, collapses some of the resulting groups and keeps the others expanded. I would assume AggGrid itself stores this state somewhere in client side JS. Is there a potential way to get stat state back to python in order to save it somewhere in a dict and persist between page reloads when AggGrid component is being redrawn or populated with new data?
Thanks!
The text was updated successfully, but these errors were encountered: