I'm using angular-material
table in angular and I wrote a function that is triggered by clicking on a row in my angular-material
table.
The function highlights the row that was clicked, but because I'm getting a lot of changes in the rows the click event
doesn't work very good,
I'm getting a new data every second and if I'm clicking the row in the period of time that the data is changing it doesn't click (the row not getting highlighted).