Skip to content

Commit

Permalink
Synced from the Blueshift Repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Blueshift Staff committed Sep 5, 2024
1 parent 932e215 commit e3ed956
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 2 additions & 0 deletions projects/ngx-grid-core/src/lib/ui/body/body.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
<div class="status-row mat-app-background" libAbsolutePositionMinusScrollbars [changes]="dataChanges"
[viewport]="viewport">
<div class="txt grid-name"><lib-localized-text>{{ name }}</lib-localized-text></div>
<ng-content select=".status-area-start"></ng-content>
<div class="greedy"></div>
<div class="txt records-count" *ngIf="underlyingRowCount > 0">{{ underlyingRowCount | number }} <lib-localized-text>locRecords</lib-localized-text></div>
<ng-content select=".status-area-end"></ng-content>
</div>
</div>
9 changes: 9 additions & 0 deletions projects/ngx-grid-core/src/lib/ui/body/body.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,19 @@
user-select: none;
position: relative;
z-index: 1;

.virtual-scroll {
height: 100%;
width: 100%;
}

::ng-deep {
.status-area-end {
display: flex;
height: 100%;
align-items: center;
}
}
}

.row.status {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
</div>
<div class="grid" [ngClass]="{ Disabled: disabled === true, initialised: initialised }">
<data-grid-header></data-grid-header>
<data-grid-body tabindex="0" [name]="name ?? data.dataSetName"></data-grid-body>
<data-grid-body tabindex="0" [name]="name ?? data.dataSetName">
<ng-content class="status-area-start" select=".status-area-start"></ng-content>
<ng-content class="status-area-end" select=".status-area-end"></ng-content>
</data-grid-body>
</div>

0 comments on commit e3ed956

Please sign in to comment.