Print Selected Rows in a report

I have a custom report which lists the entire month’s worth of data.

the printout has an image as well as the data for every row - I used a HTML template to do this.

My question is, how would you print only the rows that have been selected

I used the info from here to create a column of checkboxes: Add Checkbox in Query / Script report)

1 Like

Actually, the real question is, how do you see if the row is checked?

I tried frappe.query_report.datatable.rowmanager.checkMap[2]

This works on the console, but not in the html.

Any ideas?