teach egGridFields how to compile column tempates
authorGalen Charlton <gmc@esilibrary.com>
Thu, 13 Oct 2016 22:08:30 +0000 (18:08 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 3 Nov 2017 20:19:34 +0000 (16:19 -0400)
commited86e1a3758eb8fee490c4219e9fd838ff6330f0
treeb284e86026d8effaca85a824dfbeffedd7190939
parent13189098d2979daf005028c0990867ad8832ce5b
teach egGridFields how to compile column tempates

This adds two optional attributes to eg-grid-field:

 compiled: if present, treat the template inside the
           element as a template to be compiled
 handlers: if present, contains an object with a bucket
           of functions (or whatever) that can be invoked
           inside the template as "col.handlers.foo"

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/templates/staff/share/t_autogrid.tt2
Open-ILS/web/js/ui/default/staff/services/grid.js