Dash AG Grid "deleteSelectedRows" as "rowData" or "virtualRowData"

I think I found a clue and I think I need to rephrase my question.

Question: How do I find deleted rows? How do I save them in a separate df?

I did some research and found this topic where they are referencing to a callback parameter data_orevious. I didn’t know about it.

So I can find deleted rows by comparing “current data” to “previous data”. But how do I do that in AG Grid? The question topic above is about a DataTable case, not AG Grid.

Please tell me if I should make a new topic with a proper question (and close this one) or we can continue here.