LP1835982 Grid cell print values option
authorBill Erickson <berickxx@gmail.com>
Tue, 16 Jul 2019 16:10:36 +0000 (12:10 -0400)
committerJane Sandberg <sandbej@linnbenton.edu>
Sat, 18 Jan 2020 18:12:20 +0000 (10:12 -0800)
commita35868d2ab33d15ace33643bba99d676d90aff53
treec4ad404812c89decf13126f9995ebdba4f0c0af5
parent83a5d21c5eee9611d8882557bf737f7e2cea21f0
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>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
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