I would like to set the button class of the add/delete/edit buttons of my ng2-smart-table to 'btn btn-sm btn-warning'. How can I do that?
Asked
Active
Viewed 532 times
1 Answers
0
You can do the following
settings = {
add: {
addButtonContent: '<i class="btn btn-sm btn-warning">Add</i>'
},
edit: {
editButtonContent: '<i class="btn btn-sm btn-warning">Edit</i>'
},
delete: {
deleteButtonContent: '<i class="btn btn-sm btn-warning">Delete</i>'
}
}

RajeevGM
- 91
- 1
- 4