What I wonder is if anyone know if it´s possible to trigger any code Before the row dissapreres.
I know how to trigger code when the key is pressed etc. But all that code comes after the row is gone in the datagrid.

Example:
I want to delete the last row in the datagrid and want to know what rowindex that row got.
All I get is the index of the row before.

How should I know if the row that was delteted was the last or the one before?