How to set the width of table of datatable
How to set the width of table of datatable
Hello. I am new here and my english isn't the best but i will try to explain my problem. Well it's my first time that iam using Datatables Jquery. So when I set up my page with datatable I found it had too much lateral spacing (margin right?) so I wanted to reduce those lateral spacing that sorround the table (datable). I tried through css but didn't work. How can I resolve this problem? Can you help me please, down here i will put a picture of the table to help you to help me...
Answers
Hi @ayrtonpereira ,
Welcome to DataTables! The table would just fill the container that it's in, this is shown in this example, so you'll need to look at the container holding the table.
If that doesn't help, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin