Dynamics 365 Business Central: How to hide the header and footer on a worksheet page to display more lines
Worksheet pages in Business Central can be extended to dynamically hide and show headers and footers, allowing users to view more journal lines. The post demonstrates using Boolean variables and page actions to toggle header and footer visibility, similar to how the Account Schedule page works.

post Dynamics 365 Lab
"There is actually a standard page we can use as a reference: Account Schedule (104, Worksheet)."
Key points
- Worksheet pages display fewer lines than List pages because headers and footers consume space
- Boolean variables control the visibility state of header and footer groups dynamically
- Page actions with Visible properties allow users to toggle between Hide/Show states
- The Account Schedule page serves as a standard reference implementation for this pattern
Quotes
- “There is actually a standard page we can use as a reference: Account Schedule (104, Worksheet).” (Points developers to an existing pattern they can follow when implementing this feature)
- “Instead of permanently hiding the header and footer, we can dynamically control their visibility.” (Clarifies the advantage of this approach - users retain flexibility rather than losing access to header/footer content)
AL objects mentioned
As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.
- page 39 “General Journal”
- page 104 “Account Schedule”
- other “GeneralJournalExt”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Dynamics 365 Business Central – Three ways to post Sales Ledger Cash Receipts in Business Central — possibly related: both name Page 39 “General Journal”
- Dynamics 365 Business Central: How to copy (synchronize) the Incoming Document to all Gen. Journal Lines — possibly related: both name Page 39 “General Journal”
- Dynamics 365 Business Central: How to hide/disable New, Edit (Edit List), and Delete actions on the page — possibly related: both name Page 39 “General Journal”
- Tips and Tricks for Better Pasting with Magic Page for Business Central — possibly related: both name Page 39 “General Journal”
- What’s New: Financial Management - Overview (2024 release wave 1) — possibly related: both name Page 39 “General Journal”
- What’s New: Post Emissions with the General Journal (2025 release wave 1) — possibly related: both name Page 39 “General Journal”
- Working with Amount Fields — possibly related: both name Page 39 “General Journal”
Context
- Features: Hide/Show header actions, Hide/Show footer actions, Dynamic visibility control, Page extension modification, Boolean state management, Journal line display optimization
Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.