I'm encountering an issue where I am unable to show custom icons on the actions
tab using ng2-smart-table
. I have successfully installed the Eva
Icons created by the Akevo Team
and would like to incorporate them into my project. I attempted to change the edit button to display custom icons, but unfortunately nothing is appearing. Specifically, I was expecting a brush icon to appear next to the delete option.
Below is an image showcasing the problem:
https://i.sstatic.net/WJ1HK.png
Here is the code snippet in question:
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'
}
}
};