From: Galen Charlton Date: Fri, 6 Dec 2019 15:48:59 +0000 (-0500) Subject: LP#1855457: make grid headers in Angular admin interfaces sticky X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fgmcharlt%2Flp1855457_stick_angular_admin_grids;p=working%2FEvergreen.git LP#1855457: make grid headers in Angular admin interfaces sticky 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 --- diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/admin-carousel.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/admin-carousel.component.html index 64714af755..28b304efef 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/admin-carousel.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/admin-carousel.component.html @@ -41,7 +41,8 @@ + [sortable]="true" persistKey="{{persistKey}}" [showLinkSelectors]="true" + [stickyHeader]="true"> diff --git a/Open-ILS/src/eg2/src/app/staff/admin/local/standing-penalty.component.html b/Open-ILS/src/eg2/src/app/staff/admin/local/standing-penalty.component.html index e8cfaf047a..8fb66ed9a5 100644 --- a/Open-ILS/src/eg2/src/app/staff/admin/local/standing-penalty.component.html +++ b/Open-ILS/src/eg2/src/app/staff/admin/local/standing-penalty.component.html @@ -13,7 +13,7 @@ [rowFlairIsEnabled]="true" [rowFlairCallback]="cspRowFlairCallback" [cellClassCallback]="cspGridCellClassCallback" - [sortable]="true"> + [sortable]="true" [stickyHeader]="true"> diff --git a/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.html b/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.html index c7479d62db..110b86a9a1 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/admin-page/admin-page.component.html @@ -34,7 +34,8 @@ + [sortable]="true" persistKey="{{persistKey}}" [showLinkSelectors]="true" + [stickyHeader]="true">