How do I prevent the fixed header of a hidden table from showing?

How do I prevent the fixed header of a hidden table from showing?

freslerfresler Posts: 7Questions: 2Answers: 0

I have to tables with fixed headers. We'll call them my main table and details table. When the user clicks a link on the main table, it is hidden so show another table with more details. Both tables have fixed headers. When the header of the details table is scrolled off the top of the screen, the header for the main table (which is now hidden) shows. How can I fix this?

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599

    It depends on how you hide it. We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • freslerfresler Posts: 7Questions: 2Answers: 0

    I figured it out. I was hiding the DIV block that held the table. When I hid the table as well, the header no longer appeared.

    Thanks!
    Floyd

This discussion has been closed.