DASH Table in dbc.Accordion

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

Seems to work fine - here’s an example app hosted on PyCafe

thanks a lot, tomorrow morning I will try it.