How to trigger event on 'row' click in row generated by script_report?

how to trigger a event while clicking a row generated by script_report?

When I click a row of report I want to display(i.e msgprint) all the information of that row.

Please provide your suggestion.

May be formatter function in financial_statement.js will help.

You can also refer [Tutorial] Add Color to Cells in Query Report

Thank you for your suggestion :slight_smile:

Will this solution work for ErpNext 5?