I am using Angular *ngFor directive to generate my dynamic table. Here is the structure below :
<tr class="tr1" *ngFor="let participant of allParticipants">
<td class="participant-properties">{{participant.stakeholderId}}</td>
<td class="participant-properties">{{participant.name}}</td>
<td class="participant-properties">{{participant.rating}}</td>
</tr>
Above table load when I go to that specific page. Above mentioned tr, last table data (td) has there values for rating:active .rejected and warn. I want to color the entire table row which has the value active in green, warn in yellow and rejected in red at the time of display it.
