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

Hi, I'm new to the forum and to the library and I have a question:

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

I would like to be able to control the style and position of the buttons autogenerated by the library for example with the table above, which is already populated, and I would like to know how to do it, I read the documentation but it was not very clear to me, sorry if it is a very basic question

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.