向angularjs表头添加按钮

问题描述 投票:0回答:1

如何将按钮添加到表格的标题。我正在使用ng-table-dynamic,我不知道。

enter image description here

我尝试使用headerTemplateURL属性,但是它不起作用。

我不想使用位置来完成技巧。

p / s:https://codepen。 io / trungducng / pen / RwbqJpb

html css angularjs ngtable dynamic-tables
1个回答
0
投票

只需使用headerTemplateURL,然后在其中插入组件的URL:

“ headerTemplateURL”:“ button.html”

© www.soinside.com 2019 - 2024. All rights reserved.