Streamlit Ag Grid edit using button

Is it possible to edit a Streamlit Ag-Grid using control buttons? I can directly edit each grid element, but it would be useful to select a row and click a button to delete/cut/copy/paste data in a row. Script is attached.

I don’t have an answer but wanted to +1 this, we would also really love to be able to perform actions on items in a row (delete, download, edit, etc). It’s such a common pattern and use case.

We were able to add the little icon buttons to the row, like in these examples.

But it seems like the component only knows how to send back which row was selected but doesn’t know how to tell streamlit if a button in a row is selected.

Hope someone can send some pointers!