Having an issue with *ngFor. It seems like the index in my tab object "joueurClassement" is not in the correct number sequence. The picture below illustrates this problem, where it works fine when the indexes are 0,1,2,3,4.
In my HTML =>
<tbody>
<tr *ngFor ="let player of joueurClassement; let i = index">
<td>{{ player.nom }}</td>
<td>{{ player.prenom }}</td>
<td>{{ player.point }}</td>
<td>{{player.victoire}}</td>
<td>{{player.defaite}}</td>
<td>{{player.nbdejeu}}</td>
</tr>
</tbody>
However, if the index numbers are not in the correct sequence (not 0,1,2,3,4), then the ngFor fails to display properly as shown in the following picture. My object "joueurClassement" does not appear on the screen. *ngFor Issue