PablocFonseca / streamlit-aggrid

Implementation of Ag-Grid component for Streamlit
https://pypi.org/project/streamlit-aggrid/
MIT License
1.05k stars 199 forks source link

How to expand context menu? #179

Closed lucharo closed 6 months ago

lucharo commented 1 year ago

Hello I was wondering if anyone has a demo on how to expand the options of the context menu from a grid (the one that comes out when you right click the table)?

I've read the docs on modifying the context menu in the official AgGrid website in javascript/typescript but I don't know how to insert the js/ts code to get the desired behaviour in my streamlit app.

Any help/guidance is appreciated :)

lucharo commented 1 year ago

I am gonna try this: https://discuss.streamlit.io/t/how-to-use-gridoptions-api-in-streamlit-aggrid/27625/3

More over is there anyway to have a JsCode instance with a python callback? i.e. after a certain JS event execute a python function (it would be so cool but I imagine hard)

lucharo commented 6 months ago

Hey sorry, how are this issue and #180 completed? @PablocFonseca