Instead of using text in the ButtonContent of table settings, you can opt for icon tags.
settings = {
delete: {
confirmDelete: true,
deleteButtonContent: '<i class="fa fa-trash" style="font-size:32px"></i>',
saveButtonContent: 'save',
cancelButtonContent: 'cancel',
},
add: {
confirmCreate: true,
addButtonContent:'<i class="fa fa-plus" style="font-size:32px"></i>'
},
edit: {
confirmSave: true,
editButtonContent:'<i class="fa fa-edit" style="font-size:32px"></i>'
},
columns: {
id: {
title: 'ID',
},
name: {
title: 'Full Name',
},
username: {
title: 'User Name',
},
email: {
title: 'Email',
},
},
};
Check out this example to see it in action