Script report with select rows checkbox

Hello

I am using script report in my App. I want first column to be checkbox to select rows. And also export those selected rows only on export.

How can I achieve this?