Pivot Tables do not work with Confluence 5.8 sticky headers

Issue #12 new
Douglas Swartz created an issue

Confluence 5.8 included an enhancement to keep headers from scrolling off the top of the page when a table is long. Unfortunately Pivot tables, apparently, do not follow the rules, and the header row of a long pivot table scrolls off the page.

Atlassian details rules for when this feature is supposed to work here: https://confluence.atlassian.com/conf58/tables-771892006.html

It appears the rules Atlassian laid out are not complete. Pivot tables have <TH> tags, but still do not render correctly with a sticky header. It could be because Atlassian appears to not use a <THEAD>, but instead puts the TH tags in the first TR row of the TBODY element.

Regardless, my users would really like to have sticky headers.

Thanks

Comments (1)

  1. Xavier Arques

    Hi Doug

    I perform some tests and that is the conclusion: The sticky header doesn't work with the Pivot Table because it has a header column (the first column)

    First I tried to put all the table in the <TBODY>, but it was not sufficient.

    Then I remove the header column (by replacing <TH> by <TR> in the first column), it works fine but the Pivot looks differently (The first column is no more grey).

    So I hesitate to deliver this modification as it will change the look and feel for all the Pivot table users and I don't want to add a new parameter to manage this sticky headers requirement

    Any suggestion ?

    Thanks

  2. Log in to comment