<div *ngIf="!column.cellTemplate"
- [ngbTooltip]="column.disableTooltip ? null : context.getRowColumnValue(row, column)"
+ [ngbTooltip]="column.enableTooltip ? context.getRowColumnValue(row, column) : null"
placement="top-left"
triggers="mouseenter:mouseleave">
<ng-container *ngIf="column.datatype === 'bool'">
</ng-container>
</div>
<div *ngIf="column.cellTemplate"
- [ngbTooltip]="column.disableTooltip ? null : column.cellTemplate"
+ [ngbTooltip]="column.enableTooltip ? column.cellTemplate : null"
placement="top-left"
#tooltip="ngbTooltip"
(mouseenter)="tooltip.open(column.getCellContext(row))"
@Input() cellContext: any;
@Input() cellTemplate: TemplateRef<any>;
- @Input() disableTooltip: boolean;
+ @Input() enableTooltip: boolean;
@Input() asyncSupportsEmptyTermClick: boolean;
// Required columns are those that must be present in any auto-generated
col.isIndex = this.index === true;
col.cellTemplate = this.cellTemplate;
col.cellContext = this.cellContext;
- col.disableTooltip = this.disableTooltip;
+ col.enableTooltip = this.enableTooltip;
col.isSortable = this.sortable;
col.isFilterable = this.filterable;
col.filterOperator = this.initialFilterOperator;
isFilterable: boolean;
isFiltered: boolean;
isMultiSortable: boolean;
- disableTooltip: boolean;
+ enableTooltip: boolean;
asyncSupportsEmptyTermClick: boolean;
comparator: (valueA: any, valueB: any) => number;
required = false;
col.isIndex = this.isIndex;
col.cellTemplate = this.cellTemplate;
col.cellContext = this.cellContext;
- col.disableTooltip = this.disableTooltip;
+ col.enableTooltip = this.enableTooltip;
col.isSortable = this.isSortable;
col.isFilterable = this.isFilterable;
col.isMultiSortable = this.isMultiSortable;