JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Table › Row formatting › Reply To: Row formatting
March 12, 2023 at 2:16 pm
#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