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)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 3 Jan 2020 16:33:19 +0000 (11:33 -0500)
commitd9ed4e71d2092634eb82684d629fcd154cecc880
tree3efd4098c78e24871924d64702273a7afb3d7673
parent21e35d793b7b70c07dae84aa31bee2772ef6a8ca
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>
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