Removing the width inline style on the table

Removing the width inline style on the table

neonWiredneonWired Posts: 2Questions: 0Answers: 0
edited October 2012 in General
Is there a way to stop it adding a css width rule to the table element, it's annoying as it can't be overruled and is a set width which causes massive problems not only with fluid layouts but it even messes up the table with simple browser scrollbars.

Replies

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    If you set the width to 100% that will retain fluid layout: http://datatables.net/release-datatables/examples/basic_init/flexible_width.html . However, without that, no currently the width must be set by DataTables, otherwise the columns can jump on paging and it causes a raft of issues in IE.

    Allan
This discussion has been closed.