highlighting data in a column depending on condition

highlighting data in a column depending on condition

by Phani Kalluri -
Number of replies: 1

Hi geeks and gurus,

I am new to moodle development and seeking your kind help with this module.

First of all a big thank you Juan for the contribution of this module which made many lives so easy with reporting..

I have created and SQL query report to get all users and courses and their final grades. In the final grades column, I want to colour code the data if they pass. I am just wondering, if there is a way. I could get to report.class.php and got to the function create_report where all the data is generated and found that all the data is put into array $finaltable. All I need is if I can embed html tags into this array.

Please help. Thanks in advance.

Regards,

Phani

Average of ratings: -
In reply to Phani Kalluri

Re: highlighting data in a column depending on condition

by Phani Kalluri -

got this, never mind!!

 

Regards,

Phani