Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

ListPart not filling all available vertical space in page

(0) ShareShare
ReportReport
Posted on by 50

Hello,

We are trying to simulate Tabs in a page. For this, we used two buttons in the actions that establish the visibility of two list parts. Here yo can see the idea:

pastedimage1651843298665v5.png

As you can see, when TAB1 is selected, a grid is displayed and the grid correctly fills all the vertical available space in the page.

However, when we select TAB2, we hide the grid (listpart) we were displaying and show a different one. This grid, shows vertical scroll but does not fill all the available vertical space:

pastedimage1651843312237v6.png

Is there any way to force this grid to occupy all the available vertical space? Why does the first listpart fill it even if it is identical to the second one?

Any help would be much appreciated.

Regards,

--

Belén

  • BelenSA Profile Picture
    50 on at
    RE: ListPart not filling all available vertical space in page

    Hello,

    Yes, it seems that the page is working fine with the first listpart. When having more listparts, even if only one is visible at a time, it does not occupy all the vertical space.

    So, your solution will probably work ok since we would have only ONE listpart. Then, we would have to filter the records and make some fields in the grid visible/not visible depending on the TAB selected.

    However, this is not an option for us in this case. We can not manage storing all the different records (4 different entities, for the moment) in the same table (they have completely different fields).

    Thanks again,

    Belén

  • Suggested answer
    YUN ZHU Profile Picture
    81,491 Super User 2025 Season 1 on at
    RE: ListPart not filling all available vertical space in page

    Hi, Very interesting attempt, I think this may be determined by BC platform, it is difficult to modify its behavior.
    There is a suggestion to add all the fields of Tab1 and Tab2 to one table, such as Tab3. When you click on Tab1, the fields of Tab1 are displayed, and when you click on Tab2, the fields of Tab2 are displayed. Although it is a bit troublesome, I think this problem can be solved.

    Hope this helps.
    Thanks

    ZHU

  • BelenSA Profile Picture
    50 on at
    RE: ListPart not filling all available vertical space in page

    Hello,

    Good try but, no. There are more than the visible records in TAB2. I get the vertical scroll.

  • Dallefeld Profile Picture
    175 User Group Leader on at
    RE: ListPart not filling all available vertical space in page

    First question, are the records displayed in TAB2 all of the applicable records? If so, then that's your answer.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,157 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,930 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans