web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 7b9GG3NTjoND9UDg3zbAPu
Power Apps - Building Power Apps
Unanswered

Flexible height gallery not showing all records in Client mode

Like (0) ShareShare
ReportReport
Posted on 22 Feb 2023 10:15:03 by

Hello all,

 

I am using flexible height gallery, but it is not showing all records (truncated last 2 records). 

 

If i create vertical gallery with same data source, it is showing me all records but in flexible it can`t. I have checked the template height and everything , but no help.

Ironically, flexible height gallery showed all records while I am in design mode, but when I open it in client(live) mode, it truncated last records.

 

I checked also with sorting (asc/desc) based on ID, then it shows me last 2 records which we missing but then it truncated the first 2 records.

 

record number 99 and 66 are missing 

panand991122_0-1677062149465.png

 

when I changed the order, 66 and 99 are visible, but last 2 missing

panand991122_1-1677062233221.png

Thanks,

 

 

 any ideas, @WarrenBelz 

Categories:
  • P-Doyle Profile Picture
    4 on 28 Nov 2023 at 17:53:16
    Re: Flexible height gallery not showing all records in Client mode

    @Anonymous 

    Changing those would have changed the layout of some controls and this late in the game was a show stopper on that, thanks, but I have found another way through trying to fix an issue with an RTE not rendering correctly in live version.

     

    @Itianys_ZD 

     

    If you're still after an answer; as above, I looked at changing the aspect ratio and orientation, but would of had to realign lots of controls, instead I went down the rabbit hole of putting the gallery in a container, making the gallery the full size and using the container to scroll, which worked, but was a bit of work, but found a much easier way to resolve through trying to fix an issue with an RTE not rendering correctly in live version.

    In Settings under Display Options, turn on Lock Aspect Ratio. As soon as I did this and published, I went to a screen affected by the not fully showing the gallery and it suddenly was without any other fix being applied.

  • Community Power Platform Member Profile Picture
    on 28 Nov 2023 at 04:09:55
    Re: Flexible height gallery not showing all records in Client mode

    @P-Doyle  @Itianys_ZD 

     

    panand991122_0-1701146806651.png

     

    please check the Orientation and size of app. it is only solve your issue.

  • P-Doyle Profile Picture
    4 on 27 Nov 2023 at 11:30:38
    Re: Flexible height gallery not showing all records in Client mode

    @Anonymous 

    Can you detail the steps to correct please? I'm having exactly the same issue right at the end of testing and don't really have the time to be rebuilding an entire screen for this as is being suggested elsewhere

  • Itianys_ZD Profile Picture
    4 on 16 Nov 2023 at 18:32:01
    Re: Flexible height gallery not showing all records in Client mode

    Could you specify how to solve the error? I'm experiencing the same issue.

  • Community Power Platform Member Profile Picture
    on 04 Oct 2023 at 06:29:58
    Re: Flexible height gallery not showing all records in Client mode

    Hi @mromo 

     

    Yes, i just changed settings- orientation and size. 

    you can change and check accordingly.

     

     

     

  • mromo Profile Picture
    12 on 03 Oct 2023 at 08:36:11
    Re: Flexible height gallery not showing all records in Client mode

    Hello,

     

    did you managed to solve your issue? We have exactly the same problem with flexible gallery, when we are in dessign mode all or items and show, but when we test the Power App in a mobile phone, the items are truncated.

     

    Regards-

  • Community Power Platform Member Profile Picture
    on 22 Feb 2023 at 11:38:15
    Re: Flexible height gallery not showing all records in Client mode

    @Anonymous 

     

    may I know how exactly you want me to use that code, 

    I created an action button and pass your code on the same. then i got this result.

     

     

  • Community Power Platform Member Profile Picture
    on 22 Feb 2023 at 11:35:14
    Re: Flexible height gallery not showing all records in Client mode

    @Anonymous 

    it is not working on code?

     

  • Community Power Platform Member Profile Picture
    on 22 Feb 2023 at 11:31:33
    Re: Flexible height gallery not showing all records in Client mode

    @Anonymous 

    Thanks for the reply..

     

    panand991122_0-1677066983478.png

     

  • Community Power Platform Member Profile Picture
    on 22 Feb 2023 at 11:24:17
    Re: Flexible height gallery not showing all records in Client mode

    can you check this code:

    UpdateContext({varPage: 0});
    UpdateContext(
    {
    varPage: RoundDown(
    Gallery1.Height / Gallery1.TemplateHeight,
    0
    )
    }
    );

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!