LP#1835982: add GridCellTextGenerator to the btGrid in the sandbox
authorGalen Charlton <gmc@equinoxinitiative.org>
Fri, 3 Jan 2020 16:33:19 +0000 (11:33 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 3 Jan 2020 20:25:49 +0000 (15:25 -0500)
commit646a0e39a8a5a34d689b09047a8e54ab84cc664c
tree7d2b090b17695b762839a20c02c6de522a59e877
parent92fc8b4ff331299d2711f2ff44c4cd245ad09296
LP#1835982: add GridCellTextGenerator to the btGrid in the sandbox

This patch also adds a usage note: since the GridCellTextGenerator
only has access to the row object but a cellTemplate can be passed
arbitrary context in addition to the row, a GridCellTextGenerator
that needs that additional context to have the print content match
the displayed content may require that the caller stick it in the
row object.

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