I am currently working on implementing the mat-table
in my project.
I am facing an issue where I need to change the mat-icon
of a button based on a click event
, but I only want this change to apply to a single row in the table. At the moment, I am able to change the icon, but the change is affecting all rows instead of just one.
Does anyone have suggestions on how I can resolve this issue?
For reference, here is my StackBlitz example: Button-icon change