This website requires JavaScript.
Explore
Help
Register
Sign In
rooty
/
DataTables
Watch
1
Star
0
Fork
0
You've already forked DataTables
mirror of
https://github.com/DataTables/DataTables.git
synced
2025-01-20 13:52:10 +01:00
Code
Issues
Releases
Activity
DataTables
/
.datatables-commit-sync
2 lines
41 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Update: A `dt-init scrollX` table is now allowed to collapse horizontally - simply don't specify `style="width: 100%"` or `width="100%"` for your table in the HTML and it will be allowed to collapse if the columns are smaller than the space required. 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.
2015-11-03 16:32:10 +00:00
27e48e8b678ec967888dd44e3e6960d8d0996896
Reference in New Issue
Copy Permalink