I have created a HTML-Table in Angular. The rows will be propagated like
<tr mdbTableCol *ngFor="let el of filteredElements;">
<td align="right">{{el.totalExpenses | number : '.2-2'}}</td>
When I refresh an Element in the Array filteredElements, the View is not updated. Here is my code for refreshing the Array:
this.filteredElements[this.filteredElements.findIndex(el => el.id === old.id)] = newElement;
What do I have to do to update the value in the table in Angular (the table should for example show the new value for totalExpenses).