streamlit-aggrid
This is just a proof of concept. Links below:
This just a proof of concept.
AgGrid is an awsome grid for web frontend. More information in https://www.ag-grid.com/
Comment on discuss.streamlit.io if you like this!
Pablo Fonseca
Install
pip install -i https://test.pypi.org/simple/ streamlit-aggrid
Quick Use
Create an example.py file
from st_aggrid import AgGrid
df = pd.read_csv('https://raw.githubusercontent.com/fivethirtyeight/data/master/airline-safety/airline-safety.csv')
AgGrid(df)
Run :
streamlit run example.py
Demo
Grid data is sent back to streamlit and can be reused in other components. In the example below a chart is updated on grid edition.
Row Selection Demo
Selected grid data is stored in ['data'] key on returned dict from AgGrid call