Alignment Issue

Alignment Issue

rovers_boyrovers_boy Posts: 11Questions: 0Answers: 0
edited January 2013 in General
I have got extended monitor hooked up to my laptop. When I move my browser from one screen to another, alignments of DataTable gets messed up. For example, when I minimize browser and drag it to extended monitor, the header of the table seems to be out of sync with the rows below. Both, rows and header, seems to mis-aligned when I drag it to extended monitor. Only upon refreshing, it seems to get aligned again.

Is there a fix to this? Or this is how it would be? Beacause our users use extended views a lot and refreshing the page everytime seems to be a painful experience.

Thanks guys for all the help!

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    My guess is that you need to call fnAdjustColumnSizing or use width="100%" like here - http://datatables.net/release-datatables/examples/basic_init/flexible_width.html . However, without a test case, I don't know what features you are using in DataTables, so I'm not sure what the answer is. Please link to a test case :-)

    Allan
  • rovers_boyrovers_boy Posts: 11Questions: 0Answers: 0
    You are awesome, Allan! Adding fnAdjustColumnSizing fixed it. Take a bow, master! :-)
This discussion has been closed.