]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/eg2/src/app/share/grid/grid-body-cell.component.html
LP#1775466 Angular(6) base application
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / share / grid / grid-body-cell.component.html
1
2 <span *ngIf="!column.cellTemplate"
3   [ngbTooltip]="tooltipContent"
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]="tooltipContent"
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