I have a DataTable that has a single select option.
I want to give the functionality of selecting a row and based on a value from column 1 , a new line graph will be populated
What Input from my DataTable can I use to do that
I tried the derived virtual data but it extracts everything
And the selected rows only extracts the index of a row being selected but not the values.
For example:
@app.callback(
Output('line-graph', 'children'),
Input('dash-data-table', "derived_virtual_data"),
Input('dash-data-table', 'derived_virtual_selected_rows'),
)
code....
return (div : dcc Graph)
2 posts - 2 participants







