Buttons Extension alignment question
Buttons Extension alignment question
cmullen77
Posts: 1Questions: 1Answers: 0
Hello all,
I'm using the Buttons extension, and loving it.
I've extended the buttons, modifying the exportOptions, the headers, etc.. but, I'm unable to figure out how to change the buttons alignment. I can move where they are placed (the order) by changing the DOM, but the buttons are always aligned left.
My dom statement is :
dom: 'B<"clear">lfrtip',
Any help would be appreciated.
Thanks!
This discussion has been closed.
Answers
You can use the
className
option to assign classes to them, and use thebuttons().container()
to put them into a container. Thats what I did with mine..Heres the exact code for my DT Buttons
Heres the screenshot of the result, those are all DT buttons, but they're totally customized
You should also be able to just inspect the buttons in the DOM and create custom CSS for whatever classes they may have