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)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 19 Aug 2020 15:07:36 +0000 (11:07 -0400)
commitda5bc0db7449fb02df89dc90250530e54cc20215
tree137875ec03606dafb66cd61bc07eb2cb621d40cb
parent90a32cde5fc67700843e56a90de386a6b62042c1
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>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
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