Closed stephencattaneo closed 5 years ago
Most of the positional logic assumes that it will be appended to the body. Does this not cause problems for that?
For my 4 uses of this extension, I haven't run into positioning issues.
I suppose if the appendTo element was positioned absolutely the fixed header's position would be off.
Interesting! FixedHeader does use absolute positioning when being the extremities of the table (code), while fixed positioning is used "inside" the table's scrolling zone.
I'll look into the impact of this when I get a chance (moving office atm, so a little displaced and out of sorted with everything! :-) ).
this change probably doesn't work anymore. closing.
This option takes a selector that if matching an element, will appendChild of that element instead of document body.
For our use of this DataTables extension, being able to specify where the created element lives is extremely helpful for styling the element.