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>
Tue, 19 Nov 2019 16:29:30 +0000 (11:29 -0500)
commitfeb1b22a8eb49ad9dd401d002d2918326337dbe5
tree824e01605ca0665dfd792846d8004557759442b1
parent87a962268ee33ea9bbb55af7b2ed680ff1be0f30
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