Selectable rows in script report

How to add checkbox and make it select-able in script report?
I have tried to add checkbox column but it didn’t make the row select-able .

In your .js file add

frappe.query_reports["Report Name"] = {
	"filters": [

	],
	get_datatable_options(options) {
        return Object.assign(options, {
            checkboxColumn: true,
        });
    },
};
2 Likes

Thanks. I already figured it out.