Add FormHandler cell template
For table coloring, FormHandler options supports a columns[...].template
in addition to columns[...].format
.
By default, the template is the same for all columns, and creates a <td>
with a link inside.
This can be overridden using columns[...].template
. This has access to the following variables:
-
value
: unformatted value of the cell data -
display
: the formatted display value, which is the output of.format
-
link
: if a.link
attribute exists, this is the result of that.link
. Else it is?col=value&_offset=
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information