How to update the dataframe with native UI for Dashtable

If I create a dashtable as in this example: https://dash.plotly.com/datatable/interactivity

but I want to reflect any row deletions in the underlying dataframe that provides data, how would I do it? Can I use the native UI or would I have to roll-my-own checkboxes and callbacks to see which checkboxes are checked and delete those rows from the dataframe?

My bad, the very next example uses selected row id’s.
I can update my dataframe setting the id column to a unique identifier for each row and go from there.

Actually this won’t work because all it is doing is highlighting the currently selected row. I need a callback input for the dashtable UI delete row “X”.