Closed DataTables closed 10 months ago
Thinking about this it might not actually be that bad. For FixedColumns to be enabled, the table must be scrolling. This in turn means that the header and footer of the table have been split into separate div
elements. These we could flick between fixed and relative positioning, rather than needing to perform a clone.
Makes the code paths a little more complex, but a nice way of doing this.
Fixing the columns with FixedHeader wouldn't be possible, but that would be redundant with FixedColumns also being used anyway...
Certainly is! Thanks for noting this.
Currently FixedHeader doesn't work with FixedColumns. Its probably not particularly easy to make it compatible given the structure of the two programs at the moment, but it would be good if they could play together (acknowledging possible performance concerns with lots of cloned elements on the page).