Column size for dataTables_scrollBody TDs wrong on Webkit

Column size for dataTables_scrollBody TDs wrong on Webkit

ips_chadips_chad Posts: 1Questions: 0Answers: 0
edited August 2011 in Bug reports
See example: http://jsfiddle.net/ips_chad/AJ8nm/

Works fine in FF 6, IE8, but breaks on Chrome/Safari (probably any Webkit, but only tested it on Mac).

The problem only appears when an individual cell wraps onto multiple lines.

I've filed a bug report with Chrome as well.

I doubt there's anything that can be done about it, but I thought I'd post it here in case someone had some clever bit of CSS/JS hackery that could fix the problem.

--Chad

Replies

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin
    When using a DataTables instance this should be fixable by calling http://datatables.net/api#fnAdjustColumnSizing . If you get column alignment issues in DataTables have a look at the Javascritp console - DataTables should give a warning if that happens.

    I'm also quite certain that there is no bug in Chrome here. The layout is using two different tables, so the browser is within its right to render them slightly differently.

    Allan
This discussion has been closed.