Capture selected cell in streamlit-aggrid?

Is there a way to capture in python the clicked cell? I was only able to get the clicked row, but I need also the column index of the clicked cell.
The use case is to show additional information below the grid based on the clicked cell (needs to be done in Python, not JS).

Is this what you’re looking for?

import streamlit as st
from st_aggrid import AgGrid, GridOptionsBuilder
import pandas as pd

# Define sample data
data = {
    'System Name': ['System A', 'System B', 'System C', 'System D'],
    'Value 1': [10, 20, 30, 40],
    'Value 2': [1, 2, 3, 4]
df = pd.DataFrame(data)

# Configure grid options using GridOptionsBuilder
builder = GridOptionsBuilder.from_dataframe(df)
builder.configure_selection(selection_mode='single', use_checkbox=False)
builder.configure_column('System Name', editable=False)
grid_options =

# Display AgGrid
st.write("AgGrid Demo")
return_value = AgGrid(df, gridOptions=grid_options)
if return_value['selected_rows']:
    system_name = return_value['selected_rows'][0]['System Name']
    st.write(f"Selected System Name: {system_name}")
    st.write("No row selected")