将额外的角度参数传递给kendo模板

时间:2015-11-20 01:09:26

标签: angularjs kendo-ui

如何将额外的角度参数传递给剑道模板?我有以下代码:

{
    field: "lastName",
    title: "Last Name,<br/> First Name",
    width: "172px",
    attributes: { style: "text-align: center" },
    template: "#= formatNameCE(data) #",
    headerAttributes: { style: "white-space: normal; text-align: center" }
},

我希望将$scope.dateRangeFrom$scope.dateRangeTo传递给模板中调用的formatNameCE javascript函数。

0 个答案:

没有答案
相关问题