0
我需要注入一个img链接到一些列标题。所有这些头文件都有下拉过滤。通过本网站向底部:https://github.com/angular-ui/ui-grid/wiki/Templating角ui网格添加img链接到列标题
当我使用上进行测试1列的单元格模板,单击头名,我发现了错误:
TypeError: v2.sort is not a function
at fn (eval at compile (angular.js:15156), <anonymous>:4:241)
at e (angular.js:26744)
at m.$eval (angular.js:17972)
at m.$apply (angular.js:18072)
at HTMLDivElement.<anonymous> (angular.js:26749)
at cg (angular.js:3613)
at HTMLDivElement.d (angular.js:3601)
列,甚至在错误,没有用于排序的下拉箭头,也没有下拉过滤器。我如何获得?这几乎就像这不是默认模板?