mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Sticky-headers: Allow nested tables in sticky header
See https://stackoverflow.com/q/48793036/145346
This commit is contained in:
parent
9d4cf1820d
commit
f4d454a432
@ -213,8 +213,8 @@
|
||||
if ($stickyTable.attr('id')) { $stickyTable[0].id += wo.stickyHeaders_cloneId; }
|
||||
// clear out cloned table, except for sticky header
|
||||
// include caption & filter row (fixes #126 & #249) - don't remove cells to get correct cell indexing
|
||||
$stickyTable.find('thead:gt(0), tr.sticky-false').hide();
|
||||
$stickyTable.find('tbody, tfoot').remove();
|
||||
$stickyTable.find('> thead:gt(0), tr.sticky-false').hide();
|
||||
$stickyTable.find('> tbody, > tfoot').remove();
|
||||
$stickyTable.find('caption').toggle(wo.stickyHeaders_includeCaption);
|
||||
// issue #172 - find td/th in sticky header
|
||||
$stickyCells = $stickyThead.children().children();
|
||||
|
Loading…
Reference in New Issue
Block a user