6dc4a99b567abc7955f4c5c83733ada2639247af
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / share / grid / grid-body-cell.component.html
1
2 <span *ngIf="!column.cellTemplate"
3   [ngbTooltip]="column.disableTooltip ? null : context.getRowColumnValue(row, column)"
4   placement="top-left"
5   class="{{context.cellClassCallback(row, column)}}"
6   triggers="mouseenter:mouseleave">
7   {{context.getRowColumnValue(row, column)}}
8 </span>
9 <span *ngIf="column.cellTemplate" 
10   class="{{context.cellClassCallback(row, column)}}"
11   [ngbTooltip]="column.disableTooltip ? null : column.cellTemplate"
12   placement="top-left"
13   #tooltip="ngbTooltip" 
14   (mouseenter)="tooltip.open(column.getCellContext(row))"
15   (mouseleave)="tooltip.close()" triggers="manual">
16   <ng-container #templateContainer
17     *ngTemplateOutlet="column.cellTemplate; context: column.getCellContext(row)">
18   </ng-container> 
19 </span>
20