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.
https://github.com/hughandersen/streamlit/blob/main/app_inventory.py