Hi everyone, my question is this:
Is it possible to insert a table as a dbc.Accordion item?
I haven’t been able to do it with something like this:
accordion = html.Div(
dbc.Accordion(
dbc.AccordionItem([
html.P("algo ..."),
dash_table.DataTable(
df_dashboard.to_dict("records"),
[{"name": i, "id": i} for i in df_dashboard.columns],
id="test_table",
page_size=10,
)
],
title="SHOW >>",),
flush=True,
start_collapsed=True,
),
)
thanks a lot