✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

User modified data table saveing

how to save user modified data table?

If you just want to load the table as an .csv or .xlsx, set export_format to ‘csv’ or ‘xlsx’, accordingly (see https://dash.plotly.com/datatable/reference).

If you want to persist the state of the table locally, use persistence=True with ‘data’ in persisted_props.

If you want to more permanently store table data, I recommend using Postgresql with psycopg2 or SQLAlchemy. Probably most straightforward is to store table data as json (for example in a callback when the user clicks a button).

Here is the code.

                   rsisted_props =['data'],