Browser resize....

Browser resize....

brianmmbrianmm Posts: 41Questions: 0Answers: 0
edited April 2009 in General
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.

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Hi brianmm,

    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
  • fusionzonefusionzone Posts: 7Questions: 0Answers: 0
    Thanks! Needed this!
This discussion has been closed.