Very simple you forgot
#=value#
just replace with
columns: [
{ field: "tupleregex", title: "Tuple Regex",
groupHeaderTemplate: "#= value # :(Count: #=count#)" }
]
题
I am trying to aggregate a kendo grid
and want to set the field value in groupHeaderTemplate
to something like this:
columns: [
{ field: "tupleregex", title: "Tuple Regex",
groupHeaderTemplate: "#=tupleregex# :(Count: #=count#)" }
]
But this returns the error tupleregex is not defined
.
解决方案
Very simple you forgot
#=value#
just replace with
columns: [
{ field: "tupleregex", title: "Tuple Regex",
groupHeaderTemplate: "#= value # :(Count: #=count#)" }
]