I am trying to update a table cell on hover of that single column, NOT all the columns of same content.this is updating all the columns where my ngswitchCase is pending, but I only want that single cell in the table of that particular row to get updated/render the different button.
<div [ngSwitch]="rowData['dataFromJson']">
<div *ngSwitchCase="'pending'">
<div *ngIf="condition"; then thenBlock; else elseBlock">
</div>
<ng-template #thenBlock>
<button (mouseover)="condition=!condition">A</button>
</ng-template>
<ng-template #elseBlock>
<button (mouseleave)="condition=!condition">B</button>
</ng-template>
</div>