How to customise query report html

I want to add some css effects on query report rows on behalf of company field value. Don’t know how can I do that. Please help me I’m stuck on this.

For reference, check https://github.com/frappe/erpnext/blob/develop/erpnext/public/js/financial_statements.js#L35

Thanks for your quick response, But I want to change the background of whole row, can you please explain in here how to get the current row and apply css on it.

I am also not an expert on this. But I know it is doable, may be slickgrid documentation / api can help.

I need to change the print format of the query report, anyone knows how to do this.? I cant find any information.

Did you out find how to do it?