mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-20 18:54:15 +01:00
Fix: Force a column width if `dt-init scrollX` is specified and a column width is given. This can be overruled if the width given is too small for the content - We already use the width attribute to determine if the table should resize dynamically to 100% width, so it makes sense to use that when scroll-x is enabled as well. - This still isn't perfect as Chrome seems to change between a box-sizing calculation depending if scrolling is required or not so there can be a shift in column widths when changing between a scrolling state and not (column visibility) which is ugly, but is proving to be difficult to deal with.