Changed expanded icons
This commit is contained in:
parent
cc1b9b1b3f
commit
87ada25580
@ -16,8 +16,8 @@
|
|||||||
<ng-container *ngFor="let c of columns; let i = index">
|
<ng-container *ngFor="let c of columns; let i = index">
|
||||||
<th *ngIf="c.hide !== true && !(c.hideMobile === true && width < mobileBreakpoint)" [class]="c.cssClass"
|
<th *ngIf="c.hide !== true && !(c.hideMobile === true && width < mobileBreakpoint)" [class]="c.cssClass"
|
||||||
style="cursor: pointer" (click)="sort(i)">
|
style="cursor: pointer" (click)="sort(i)">
|
||||||
<span *ngIf="sortedColumn == i && !sortedDesc">▲</span>
|
<span *ngIf="sortedColumn == i && !sortedDesc">↑</span>
|
||||||
<span *ngIf="sortedColumn == i && sortedDesc">▼</span>
|
<span *ngIf="sortedColumn == i && sortedDesc">↓</span>
|
||||||
{{c.label}}
|
{{c.label}}
|
||||||
</th>
|
</th>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
@ -28,7 +28,7 @@
|
|||||||
<tr [ngClass]="{'active': selectedRows.has(i)}" (click)="updateSelected(i)">
|
<tr [ngClass]="{'active': selectedRows.has(i)}" (click)="updateSelected(i)">
|
||||||
<td *ngIf="showCheckbox && selectionMode !== null"><input type="checkbox" [checked]="selectedRows.has(i)"/></td>
|
<td *ngIf="showCheckbox && selectionMode !== null"><input type="checkbox" [checked]="selectedRows.has(i)"/></td>
|
||||||
<td *ngIf="expandedTemplate">
|
<td *ngIf="expandedTemplate">
|
||||||
<span *ngIf="!selectedRows.has(i)">►</span>
|
<span *ngIf="!selectedRows.has(i)">◢</span>
|
||||||
<span *ngIf="selectedRows.has(i)">▼</span>
|
<span *ngIf="selectedRows.has(i)">▼</span>
|
||||||
</td>
|
</td>
|
||||||
<ng-container *ngFor="let c of columns">
|
<ng-container *ngFor="let c of columns">
|
||||||
|
Loading…
Reference in New Issue
Block a user