Make Table width 100%

Make Table width 100%

PloetziPloetzi Posts: 2Questions: 0Answers: 0
edited March 2010 in Bug reports
i have tried to make the table width 100% with the following code, but it is not working:
$('#tabl').dataTable({ "bJQueryUI": true,"bAutoWidth":false, "bSort": false, "sPaginationType": "full_numbers"});



  • allanallan Posts: 58,914Questions: 1Answers: 9,485 Site admin
    Try setting the width before you initialise the table. DataTables should be smart enough to see that the table has a width (if bAutoWidth is enabled) and just match that width.

This discussion has been closed.