【发布时间】:2019-11-23 22:54:51
【问题描述】:
我无法在ng2-smart-table 的actions 选项卡上显示自定义图标。我已经安装了来自Akevo Team 的Eva 图标,我想使用它们。我已更改编辑按钮以显示一些自定义图标,但问题是什么都没有出现。在删除的左侧,必须出现一个画笔图标。
这是有问题的图片:
代码如下:
settings = {
edit: {
editButtonContent: '<nb-icon icon="brush"></nb-icon>',
saveButtonContent: '<nb-icon icon="checkmark"></nb-icon>',
cancelButtonContent: '<nb-icon icon="close-circle"></nb-icon>'
},
columns: {
device: {
title: 'Device',
sortDirection: 'asc'
},
type: {
title: 'Type',
sort: false,
filter: false
},
serialNumber: {
title: 'Serial Number'
},
status: {
title: 'Status'
}
}
};
【问题讨论】:
-
你找到解决办法了吗?
标签: css angular ng2-smart-table nebular ngx-admin