LP1835982 Grid cell print values option
authorBill Erickson <berickxx@gmail.com>
Tue, 16 Jul 2019 16:10:36 +0000 (12:10 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 3 Jan 2020 20:25:43 +0000 (15:25 -0500)
commit34c007ede535e603d0afb7e4854ccd81c9c7b92d
tree5d00cfd3b18c8705067ec8346c1264e22829ed2e
parent593901297aee361be563d524a15a431035e1adfd
LP1835982 Grid cell print values option

Allow grid callers to implement functions that return plain text
(printable) values for a given cell.  These are primarily useful when a
cell is rendered via cellTemplate, which may not produce content which
is ideal for printing. Such functions are specified by the cellPrintValue
attribute in the eg-grid-column element.

Includes sample implementation for the Angular record detail copies
grid, which uses several cellTemplate cells.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/share/grid/grid-column.component.ts
Open-ILS/src/eg2/src/app/share/grid/grid.ts
Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.html
Open-ILS/src/eg2/src/app/staff/catalog/record/copies.component.ts