Hi @fhalawa
Here are some suggestions:
-
The most common way to add rows or do any other data prep in the callback is to use a pandas dataframe. When the data in the df is how you want it to look in the table, then
data = df.to_dict(“records”)
will put it in a format needed to update the data property of the table.Output('table', 'data)
-
To use the output of this table in another callback, you can use it as an input in that callback:
Input(‘table’, ‘data’)
-
There is a good example of how to export data from a table in the last topic here: https://dash.plotly.com/datatable/editable
If you still have questions, it’s easier to help if you can provide a minimal example with some sample data. For more information see: How to Get your Questions Answered on the Plotly Forum