Grid headers in Angular admininstration interfaces that use
subclass, or copy from AdminPageComponent are now sticky.
To test
-------
[1] Apply the patch and examine Angular admin pages that are
are based on AdminPageComponent. A good example is the
MARC Search/Facet Fields server admin page.
[2] Make the grid display a large number of rows, then scroll
the page. Verify that the grid header is sticky (i.e.,
the header remains visible in the viewport).
[3] Verify that the Carousels and Standing Penalties local admin
grids have stick headers.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Risher <mrisher@catalyte.io>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
<eg-translate #translator></eg-translate>
<eg-grid #grid idlClass="{{idlClass}}" [dataSource]="dataSource"
- [sortable]="true" persistKey="{{persistKey}}">
+ [sortable]="true" persistKey="{{persistKey}}"
+ [stickyHeader]="true">
<eg-grid-toolbar-button [disabled]="!canCreate"
label="New {{idlClassDef.label}}" i18n-label [action]="createNew">
</eg-grid-toolbar-button>
[rowFlairIsEnabled]="true"
[rowFlairCallback]="cspRowFlairCallback"
[cellClassCallback]="cspGridCellClassCallback"
- [sortable]="true">
+ [sortable]="true" [stickyHeader]="true">
<eg-grid-toolbar-button
label="New Standing Penalty Type" i18n-label (onClick)="createNew()">
</eg-grid-toolbar-button>
</ng-template>
<eg-grid #grid idlClass="{{idlClass}}" [dataSource]="dataSource" hideFields="{{hideGridFields}}"
- [sortable]="true" persistKey="{{persistKey}}">
+ [sortable]="true" persistKey="{{persistKey}}"
+ [stickyHeader]="true">
<eg-grid-toolbar-button [disabled]="!canCreate"
label="New {{idlClassDef.label}}" i18n-label (onClick)="createNew()">
</eg-grid-toolbar-button>