Charly Wargnier
Charly Wargnier

@DataChaz

5 Tweets 1 reads Dec 30, 2022
Ever wished you could dynamically edit your dataframe's cells *LIVE* in @streamlit?
Rejoice! Now you can via the ace @ag_grid component! 🎈🙌
I’ve created a simple demo to showcase it:
🕹️ App → share.streamlit.io
🐙 Code → github.com
#DataScience #Python
@streamlit @ag_grid 2/5
To make any cell editable, it's easy!
Simply use 'editable=True' on 'configure_default_column'
The copyable snippet is in the alt tag ;)
3/5
Bonus tip #01!
To add pagination to your dataframes, add 'enabled=True' to 'configure_pagination'
(copyable snippet is in the alt tag)
4/5
Bonus tip #02!
To modify the format of your dataframes and give them that polished @MaterialUI feel ✨ , just add the 'theme="material"' argument to your AgGrid function.
(copyable snippet is in the alt tag)
5/5
Kudos to the following folks for their guidance! 🙌
- @pablofonseca (who created the marvellous streamlit-ag-grid component! pypi.org)
- Alan Richardson (aka @eviltester, @ag_grid's 🧠 mastermind)
- @Avra_b (@Streamlit whizz + one of our wonderful creators!)

Loading suggestions...