Closed djuba closed 8 years ago
FYI, placing a $(window).trigger('resize')
call within the initComplete
option does not adjust the responsive column widths. However, running that trigger call through the browser console after the page loads does adjust the responsive column widths and lines the columns up correctly. I'm at a loss as to why the trigger within the initComplete
option does not work.
Just saw this issue was fixed by commit 82e62b3
Thanks for posting. Fix worked for me.
http://jsfiddle.net/uonhekd8/1/
Bootstrap 3.3.5, DataTables 1.10.10, FixedHeader 3.1.0, Responsive 2.0.0
When you run the above jsFiddle, the DataTables scrollHead columns do not line up with the scrollBody columns on initial load. This is much more visually apparent if you run the jsFiddle when the window is small enough to have a collapsed column, but is still an issue without collapsed columns. If you resize the window, the columns will line up.
Any ideas on a short term quick fix I can implement?
Keep up the good work!