1

我正在尝试聚合 akendo grid并希望将字段值设置为groupHeaderTemplate如下所示:

columns: [
          { field: "tupleregex", title: "Tuple Regex",
          groupHeaderTemplate: "#=tupleregex# :(Count: #=count#)" }
         ]

但这会返回错误tupleregex is not defined

4

1 回答 1

2

很简单,你忘了

#=value#

只是替换

columns: [
          { field: "tupleregex", title: "Tuple Regex",
          groupHeaderTemplate: "#= value # :(Count: #=count#)" }
         ]
于 2013-10-05T11:06:43.800 回答