Configure a button created inside a callback

Hello! I am a beginner in Dash. I am trying to create an application for data profiling where the user chooses the name of the database with a dropdown and then gets an interface with plots for each column. Each plot should have a button called “details” that I want to configure to display more details about the selected column once clicked.

I have a callback that returns something like this

return html.Div( [
dbc.Button(“Details”, id=feature),
dcc.Graph(dcc.Graph(figure= px.line(dataset, x=“TimeStr”, y=feature))
for feature in features] )

My question is How could I configure the button “details”? I saw that calling another callback inside isn’t possible…

Any suggestion could be helpful and thank you in advance.