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
Copy file name to clipboardexpand all lines: examples/options/offset-automatic.xml
+5-1
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,10 @@
4
4
<csslib="datatables fixedheader" />
5
5
<jslib="jquery datatables fixedheader">
6
6
<![CDATA[
7
+
// Note although the initialisation here is identical to the basic FixedHeader case
8
+
// There is a fixed position element which has a class of `fh-fixedHeader` which
9
+
// FixedHeader will automatically detect. See the description above.
10
+
7
11
$(document).ready(function() {
8
12
$('#example').DataTable( {
9
13
fixedHeader: true
@@ -21,7 +25,7 @@ It is not uncommon to have a fixed element at the top or bottom of a web-page to
21
25
* Automatically, by assigning the class `-string fh-fixedHeader` or `-string fh-fixedFooter` to the fixed elements
22
26
* Using the `fh-init fixedHeader.headerOffset` and `fh-init fixedHeader.footerOffset` options.
23
27
24
-
This example demonstrates the first option where a header element has the class `-string fh-fixedHeader` assigned to it. FixedHeader automatically detects this element and will offer the header by the required amount.
28
+
This example demonstrates the first option where a header element has the class `-string fh-fixedHeader` assigned to it. FixedHeader automatically detects this element and will offset the header by the required amount.
0 commit comments