FixHeader Not Aligned
See original GitHub issue var ic = this;
ic.dtInstance = {};
ic.dtOptions = DTOptionsBuilder.fromFnPromise(function () {
return ReportingService.getImports();
}).withBootstrap().withFixedHeader({
bottom: true
}).withDataProp('data').withDOM('frtilp').withButtons(['colvis',
'copy',
'print',
'csv']).withDisplayLength(100).withOption('lengthMenu', [[100, 250, 375, 500, 750, 20000], [100, 250, 375, 500, 750, "All"]]);
Why is the fixed header not aligned?
In addition the fixed header only shows after I navagate to page 2 instead of being applied on page one. Once I visit page two it works.
Finally, not a big issue but in the picture above it shows that the fixed header is there even though I didn’t yet scroll down enough for it to activate.
It also seems like the more pages I navigate though the larger and weirder the fixedheader becomes.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
fixedheader-floating not align with table content datatable on ...
Description of problem: On windows y scrolling, the fixedheader-floating created is not normally align with the table content, sometimes is ...
Read more >Jquery Data table Fixed Header Not aligned - Stack Overflow
Before adding the fixed header, everything was aligned. Im wondering if anyone hasd experienced this and if so, how did you work around...
Read more >Fix header table with border is not aligned · Issue #222 - GitHub
However when I add table border (table-bordered) style, the border appears but it is not aligned between the fix header and the body....
Read more >iggrid fixed header not aligned with row data - Infragistics
Hi,. I am setting height of iggrid to set fixed header with vertical scrolling, it is fixed the header, but its not aligned...
Read more >Fix header not left aligned with row contents on vulnerability ...
Fix header not left aligned with row contents on vulnerability table ... table heading labels are not left aligning to the content below: ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Attached image shows still unaligned columns. Interesting note is that the style says it should be the right width then in the real width it’s higher. Futhermore 508px is actually a perfect width for the fixed header not sure why 63 px is getting added to it.
Also seems to subtract from width in style as well?
Can you modify the above pen to reproduce your issue?