How to access the before row $record in the table builder?

As an example in my case, I want to check if the before row is same parent_id with current row, how could I do that in Filament v3?
Was this page helpful?