Styling buttons on Vue3 component
Styling buttons on Vue3 component

Hi, is it possible to style buttons, or best to add classes to the buttons like the Search? I.e.: #DataTables_Table_0_filter
.
Is there any attribute available that I missed in the documentation, or shall be done manually by querying selectors?
The reason is that I use Tailwind CSS and the layout is pretty much broken with the buttons, including the pagination buttons.
Thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I would suggest you use the
DataTable.Buttons.defaults.dom
property to set the tag names and class names you want for the buttons in general. The Bootstrap 5 example might be a good starting point.Allan