Commit cd2f2a8a authored by ncastejon's avatar ncastejon
Browse files

Fix click interaction to select a row in the data table

parent 7b04c628
......@@ -69,8 +69,8 @@
</span>
<span class="column-title" [ngClass]="{'active': sortValue === key}">{{ key }}</span>
</div>
<ng-container *ngFor="let element of data; let indexData=index; let even=even;">
<div [class]="'item-grid' + ' item-grid' + indexData" [ngClass]="{'is-first': indexRow === 0 }"
<ng-container *ngFor="let element of data; let indexData = index;">
<div [class]="'item-grid' + ' item-grid-' + indexData" [ngClass]="{'is-first': indexRow === 0 }"
*ngFor="let key of selectedProperties; let indexRow=index;" (click)="setStyleForAllRow(indexData)">
<span *ngIf="!isPropertyComplex(element,key)" class="data-property-value">{{ element.properties[key] }}</span>
<span *ngIf="isPropertyComplex(element,key)">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment