DataTables / FixedHeader

Fix the header, footer, left or right columns of a table in place, to always show them when scrolling
http://www.datatables.net/
Other
75 stars 83 forks source link

Fixed Header does not update after 'processing' #16

Closed dummey closed 8 years ago

dummey commented 11 years ago

So, when DataTables does anything dynamic such as filter, or reload of data, it triggers 'processing'. As for as I can see, this is not caught by FixedHeaders thus when the newly loaded data causes layouts to shift, the fixed header is not aligned on top of the tables actual header.

DataTables commented 11 years ago

Are you able to link me to a test case showing the issue please? Typically the processing element is position:absolute and therefore showing and hiding it shouldn't effect the position of the FixedHeader.

dummey commented 11 years ago

I'll construct a test case when I get home. It's not the actual element that is showing 'Processing...' that is causing the problem, it is the data table updating.

The solution we are using is to bind to the trigger 'processing' which is sent by _fnProcessingDisplay in jquery.dataTables.js

DataTables commented 8 years ago

Going to close for the moment. If this is still an issue please reopen with a test case.