How to modify the style and position of buttons autogenerated like pdf/excel/printer download?

How to modify the style and position of buttons autogenerated like pdf/excel/printer download?

joselacourjoselacour Posts: 3Questions: 2Answers: 0
edited March 2023 in Free community support

Hello, im new in this forum and with this library, i have a question:
I am currently using this library in a django project, and I would like to know how I can interact with the style of the buttons generated by the library, for example in the following code:

<script>
$(document).ready( function () {
    $('#table').DataTable( {
        "dom": '<"top"lf>t<"bottom"<B>ip>',
        'buttons': [
            'print',
            'excel',
            'pdf',
            'colvis'
        ]
} );
} );
</script>

I would like to be able to control the location and style of the buttons and reading the documentation was not very clear to me, I apologize if it is a very simple question that I should have been able to solve by reading the documentation better

Sign In or Register to comment.