Form Designer: Advanced logic - Data Grid - delete rows

Hi there!

In Action Center, we have a task (Form) where a huge Data grid is displayed. For the moment, the user needs to delete manually 90% of the rows.
The idea would be to propose a check box where the user can select the lines he wants to keep!
And by pressing a button, it removes all unselected check boxes.

Any ideas how to do that?

any ideas?