Browser resize....
Browser resize....
Hi All,
I have done a search on google/forum here but could'nt find any info...
I have noticed that if you resize the browser I need to refresh the page to get the table to re-size?
Is this usual... is there a way to fix this?
Thanks in advance.
I have done a search on google/forum here but could'nt find any info...
I have noticed that if you resize the browser I need to refresh the page to get the table to re-size?
Is this usual... is there a way to fix this?
Thanks in advance.
This discussion has been closed.
Replies
What is happening here is that DataTables is setting the column width to an automatically calculated width (in pixels). This is done in order to stop the columns "jumping around" when a user make use of the paging options.
To stop this automatic calculation you can set bAutoWidth to false ( http://datatables.net/usage#bAutoWidth ).
Regards,
Allan