Skip to content

Tabs + New-HTMLTable -FixedFooter #166

@smasterson

Description

@smasterson

I've noticed an issue when switching tabs using tables with -FixedFooter
If the footer is 'floating' when you switch tabs, the footer stays in view.

$data = Get-Process | select -First 50

New-HTML -Online -FilePath $env:TEMP\test.html -ShowHTML {

  New-HTMLTab -Name 'Tab1' {  

  }  
  New-HTMLTab -Name 'Tab2' {  

    New-HTMLSection -HeaderText 'Test Table' {    
  
      New-HTMLTable -DataTable $data -DisablePaging -FixedFooter      

    }  

  }

}

Switch to Tab2, you should have a floating footer (else select more processes), then switch back to Tab1, you'll find the table footer from Tab2 still visible.

I also noticed that -FixedFooter auto enables -FixedHeader - is this intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions