Export datatable to static html file with embeded react scripts etc

I currently use the following method for exporting plotly figures to html: fig.write_html()

Works great however I want to also do this with dash_table.datatable. I don’t require any linked callbacks of the full dash layout just the datatable component and it’s associated interactivity scripts.

I believe this should be theoretically possible as I can view a datatable and then disconnect the server. The table still functions perfectly (pagination, filtering) with the most recent data, which is what I want. However I don’t want all of the other components on the screen, just the table.

Any ideas ?

1 Like

I would also like to know that… I have a dash with charts, images and datatables which users should be able to select and export them in a single html file. i’m ok with the plotly figure and images but i can’t find a solution to embed a virtualized datatable in this file.