[FixedHeader] main table header sticks to embedded table
[FixedHeader] main table header sticks to embedded table
Hi there,
I'm reporting an issue with FixedHeader and DataTables nested inside DataTables. Using nightly builds here!
Link to test case: https://live.datatables.net/gohefoki/1028/edit
Description of problem:
The header of the main table (fixedHeader: true) in some cases copies/moves itself to another DataTable nested inside itself (fixedHeader: false):
* Case 1: click on a (+) to render an embedded DataTable and start scrolling => the static header will copy itself to the embedded table
* Case 2: start scrolling so the fixedHeader of the main table activates, then click on a (+) => the static header will copy itself to the embedded table
In both cases if you scroll back up, the header of the main table has disappeared.
Thanks for all the great work!
Karel
p.s. this issue arrises since FixedHeader v4.0.6
Answers
Hi Karel,
Many thanks for the test case! I completely agree - there is an error in my scoping there. I'll get it sorted out and post back when done.
Allan