From c6061319a9cf3f157a49a572aae76b7c43bbb6dd Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 6 Dec 2019 10:48:59 -0500 Subject: [PATCH] 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 Signed-off-by: Mike Risher Signed-off-by: Jane Sandberg --- .../src/app/staff/admin/local/admin-carousel.component.html | 3 ++- .../src/app/staff/admin/local/standing-penalty.component.html | 2 +- .../src/app/staff/share/admin-page/admin-page.component.html | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) 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 6740171a14..f1cedc7f3a 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}}" + [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 aefc58d640..a4e70d8ca3 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 @@ -16,7 +16,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 ceb9cbc001..215161f48d 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 @@ -53,7 +53,8 @@ + [sortable]="true" persistKey="{{persistKey}}" + [stickyHeader]="true"> -- 2.43.2