I'm having a problem with the jQuery DataTables plugin. The first time I invoke the $.dataTable() it produces a nice looking table. But the second time I call it (To reinitialize the table), the column widths are not correct, i.e. the table is squished horizontally. In all cases, the same code is called so I do not understand. Furthermore, this does not happen with Firefox, only with Internet Explorer, although Explorer is my target browser.
My javascript (inside the success handler for an ajax call):
Assuming you are using the latest code, then DataTables should restore the original width of the table on destroy, however it must do this with pixel values, rather than a percentage value due to the limitations in being able to read values. It's possible this might be impacting on your table - if you could post an example that would be most useful. Failing that you could call fnDestroy and then replace the table HTML, set the width to 100% and then initialise the table.
I am using datatables v 1.8.1 and when I set bDestroy to true and reinitialize the table
the table section changes and the width of the table is wider than the toolbar header and footer.