Closed charleywan2004 closed 5 years ago
I found the answer, i.e. to update rows
@app.callback( Output('editable-table', 'rows'), [Input('graph', 'clickData')]) def update_rows(clickData): if clickData: rows=DF_SIMPLE.to_dict('records') else: rows=[]
return rows
Can I use callback to output to the editable table? for example, I use some inputs to update the dataframe in editable table, then use editable table to update plot. This will allow not only manual change of the editable table, but also programmatically change the editable table.