2 <div class="eg-grid" role="grid">
4 <eg-grid-toolbar #toolbar
5 [gridContext]="context"
6 [gridPrinter]="gridPrinter"
7 [colWidthConfig]="colWidthConfig"
8 [disableSaveSettings]="!persistKey || ('disabled' === persistKey)">
11 <div #egGridStickyHeader [ngClass]="{'eg-grid-sticky-header' : context.stickyGridHeader}">
12 <eg-grid-header [context]="context"></eg-grid-header>
15 <eg-grid-column-width #colWidthConfig [gridContext]="context">
16 </eg-grid-column-width>
18 <eg-grid-print #gridPrinter [gridContext]="context">
21 <ng-container *ngIf="dataSource.data.length === 0">
23 <ng-container *ngIf="dataSource.requestingData">
24 <div class="col-lg-6 offset-lg-3 text-center mt-3">
25 <eg-progress-inline></eg-progress-inline>
28 <ng-container *ngIf="!dataSource.requestingData">
29 <div class="col-lg-12 text-center alert alert-danger fst-italic fw-bold" *ngIf="dataSource.retrievalError">
30 <span i18n>Error Retrieving Results</span>
32 <div class="col-lg-12 text-center alert fst-italic fw-bold" *ngIf="!dataSource.retrievalError">
33 <span i18n>Nothing to Display</span>
39 <eg-grid-body [context]="context"></eg-grid-body>