Forum Discussion
RealPaddy
Jan 25, 2020Brass Contributor
Formatted view - hideColumnHeader not working in list webpart
I have a list webpart on a modern site which has a view formatted with some JSON The list column header displays even though the property hideColumnHeader is set to true (this just started happening...
XXtra
Sep 10, 2025Occasional Reader
This issue is back in a slightly different form, caused by headerViewsContainer update in November 2024:
<div class="headerViewsContainer is pulling from .h_wACg9_YBjGt{height:20px;margin-top:0}
This adds 20px horizontal space at the top of the container.
hideColumnHeader = true, results in advancing the list to overlap the header, but stopping short of the 20px leaving a visible white bar, when the list and background are colored.
hideColumnHeader = false, shows this extra space as in attached image below
This image shows the command bar, then the extra 20px container (Red?), then the actual header, then the list area (Magenta).
i can overlap the header, but only to the top of the actual header height...the extra container area remains.