#104503
uterere
Participant

Dear Steven,

Very peculiar this solution to pass a function as a binding property.

Anyway it does not solve an important  problem:  What to do when the information of which row must be highlighted  is external to the component.

How to do that in Angular?

Example: suppose you have an ajax table,

(i) you click in a row => onClick

(ii) save the id of the row => this.selectedId = data.id

(iii)=> ???? =>  highlighted the entire row where row.id === this.selectedId.

Thank you so much

Ute