Hi,
Is it possible to generate a callback when a row is deleted, with the input of which row was deleted?
Hi,
Is it possible to generate a callback when a row is deleted, with the input of which row was deleted?
Hi keend,
Comparing ‘data’ and ‘data_previous’ States of your DataTable, you should be able to find the difference
@app.callback(
Output(...),
[Input('your-table', 'data_timestamp')],
[State('your-table', 'data'), State('your-table', 'data_previous')]
)
Thank you @March,
This will trigger a callback on any changes to the data table I guess? I would like a callback that is only triggered by a deletion, instead of having to figure out what changed in the data table at the given moment.
This feature would be really useful!