Zoom out into browser

Zoom out into browser

wjshohswjshohs Posts: 29Questions: 0Answers: 0
edited December 2010 in Bug reports
When you are making zoomout(ctrl -) for table with horizantal scrolling into FF table column are not aligned correctly.

For zoomin it is ok.

Replies

  • allanallan Posts: 63,692Questions: 1Answers: 10,500 Site admin
    If Firefox provides events handling for zoom in / out, then the answer is to call fnAdjustColumnSizing ( http://datatables.net/api#fnAdjustColumnSizing ) when that occurs.

    Allan
  • wjshohswjshohs Posts: 29Questions: 0Answers: 0
    it is halping a little but still have issues when some borders of cells are missing on zoom out in FF
    in IE borders are ok, but widths of headers and cells are different
  • allanallan Posts: 63,692Questions: 1Answers: 10,500 Site admin
    I'm afraid that there really isn't much I can do about this in DataTables. The issue is that the browser is making rounding assumptions / errors in order to try and scale things up. The calculations DataTables does don't have access to that information at all nor should it effect how the browser chooses to size borders etc - so it's really a browser bug... All I can suggest for the column alignment is not to use the scrolling option in DataTables if you need that to work perfectly with zoom.

    Allan
This discussion has been closed.