<div [ngSwitch]="col.datatype">
<div *ngSwitchCase="'link'">
<div class="input-group">
- <div ngbDropdown class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
+ <div ngbDropdown container="body" class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
[ngClass]="{'border rounded border-secondary eg-grid-col-is-filtered' : col.isFiltered}">
<a ngbDropdownToggle class="no-dropdown-caret text-dark" href="javascript:;">
<ng-container *ngTemplateOutlet="dropdownToggle; context:{col:col}"></ng-container>
</div>
<div *ngSwitchCase="'bool'">
<div class="input-group">
- <div ngbDropdown class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
+ <div ngbDropdown container="body" class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
[ngClass]="{'border rounded border-secondary eg-grid-col-is-filtered' : col.isFiltered}">
<a ngbDropdownToggle class="no-dropdown-caret text-dark" href="javascript:;">
<ng-container *ngTemplateOutlet="dropdownToggle; context:{col:col}"></ng-container>
</div>
<div *ngSwitchCase="'text'">
<div class="input-group">
- <div ngbDropdown class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
+ <div ngbDropdown container="body" class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
[ngClass]="{'border rounded border-secondary eg-grid-col-is-filtered' : col.isFiltered}">
<a ngbDropdownToggle class="no-dropdown-caret text-dark" href="javascript:;">
<ng-container *ngTemplateOutlet="dropdownToggle; context:{col:col}"></ng-container>
</div>
<div *ngSwitchCase="'int'">
<div class="input-group">
- <div ngbDropdown class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
+ <div ngbDropdown container="body" class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
[ngClass]="{'border rounded border-secondary eg-grid-col-is-filtered' : col.isFiltered}">
<a ngbDropdownToggle class="no-dropdown-caret text-dark" href="javascript:;">
<ng-container *ngTemplateOutlet="dropdownToggle; context:{col:col}"></ng-container>
</div>
<div *ngSwitchCase="'id'">
<div class="input-group">
- <div ngbDropdown class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
+ <div ngbDropdown container="body" class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
[ngClass]="{'border rounded border-secondary eg-grid-col-is-filtered' : col.isFiltered}">
<a ngbDropdownToggle class="no-dropdown-caret text-dark" href="javascript:;">
<ng-container *ngTemplateOutlet="dropdownToggle; context:{col:col}"></ng-container>
</div>
<div *ngSwitchCase="'float'">
<div class="input-group">
- <div ngbDropdown class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
+ <div ngbDropdown container="body" class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
[ngClass]="{'border rounded border-secondary eg-grid-col-is-filtered' : col.isFiltered}">
<a ngbDropdownToggle class="no-dropdown-caret text-dark" href="javascript:;">
<ng-container *ngTemplateOutlet="dropdownToggle; context:{col:col}"></ng-container>
</div>
<div *ngSwitchCase="'money'">
<div class="input-group">
- <div ngbDropdown class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
+ <div ngbDropdown container="body" class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
[ngClass]="{'border rounded border-secondary eg-grid-col-is-filtered' : col.isFiltered}">
<a ngbDropdownToggle class="no-dropdown-caret text-dark" href="javascript:;">
<ng-container *ngTemplateOutlet="dropdownToggle; context:{col:col}"></ng-container>
<!-- [autoClose]="false" because editing the date widgets, which open
their open popups, registers to the dropdown as clicking
outside the dropdown -->
- <div ngbDropdown class="d-inline-block p-1" [autoClose]="false" placement="bottom-left"
+ <div ngbDropdown container="body" class="d-inline-block p-1" [autoClose]="false" placement="bottom-left"
[ngClass]="{'border rounded border-secondary eg-grid-col-is-filtered' : col.isFiltered}">
<a ngbDropdownToggle class="no-dropdown-caret text-dark" href="javascript:;">
<ng-container *ngTemplateOutlet="dropdownToggle; context:{col:col}"></ng-container>
</div>
<div *ngSwitchCase="'org_unit'">
<div class="input-group">
- <div ngbDropdown class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
+ <div ngbDropdown container="body" class="d-inline-block p-1" autoClose="outside" placement="bottom-left"
[ngClass]="{'border rounded border-secondary eg-grid-col-is-filtered' : col.isFiltered}">
<a ngbDropdownToggle class="no-dropdown-caret text-dark" href="javascript:;">
<ng-container *ngTemplateOutlet="dropdownToggle; context:{col:col}"></ng-container>