datatables editor create dialog - how to change create button to btn-success
datatables editor create dialog - how to change create button to btn-success
evan123
Posts: 8Questions: 6Answers: 1
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
Create
Is what datatables creates
I would like to change the "btn btn-success btn-primary" to just "btn btn-succcess"
I put in
$.fn.dataTable.Editor.classes.form.button = "btn btn-success";
Which got something in ... but not sure how to get the btn-primary removed now ...
Answers
Should remove the
btn-primary
class from theedit
andcreate
views for Editor's Bootstrap 5 integration. The remove button usesbtn-danger
which you might or might not want.Allan