You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New: fh-api fixedHeader.footerOffset() and fh-api fixedHeader.headerOffset() methods to get / set the offset of the fixed header and footer.
- From #72 - thanks @miljenko1
- Added documentation
- Rewritten to not use internal properties of the FixedHeader instance
externally
- Using `$.each()` to add the DataTables API methods to help save
reproducing almost duplicate code
This method provides the ability to control the offset of the table's fixed footer. This offset can be useful if you have an element floating at the bottom of a page (a set of common navigation links for example) and you wish to have the footer stick to the top of that element rather than to the bottom of the page.
29
+
30
+
This method, and its counterpart control for the header, `fh-api fixedHeader.headerOffset()`, can be useful for cases where that offset can change dynamically (a fixed element that grows on mouse over for example).
31
+
32
+
Please be aware that the footer's position will immediately update once this method has been executed, if required by the page's scrolling position. No other update method is required.
This method provides the ability to control the offset of the fixed header. This offset can be useful if you have an element floating at the top of a page (a navigation menu for example) and you wish to have the header stick to the bottom of that element rather than to the top of the page.
29
+
30
+
This method, and its counterpart control for the footer, `fh-api fixedHeader.footerOffset()`, can be useful for cases where that offset can change dynamically (a fixed element that grows on mouse over for example).
31
+
32
+
Please be aware that the header's position will immediately update once this method has been executed, if required by the page's scrolling position. No other update method is required.
0 commit comments