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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Grid view with inline ...
Power Apps
Unanswered

Grid view with inline aggregation - sizing

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I'm trying to display data in a grid like format. I've modified a gallery control to do this that seems to be the best way. In this "grid" I need to have a high level aggregate row, with inline detail rows.

 

I've achieved this, to a degree, by nesting a second gallery inside the outer one, and used the GroupBy() function around the data source for the outer gallery, and setting the data course of the nested gallery to the "group_name" column output by the groupby function.

 

This works, in that I get my outer aggregate / header row and the inner children rows underneath, all good.

 

The issue of sizing then came up, I can dynamically size the inner gallery to fit the number of rows displayed (the grey area in the image below), as I'm sizing the whole gallery control itself, however I cant find a way of sizing the template part (blue area in image below) that parents the nested gallery to grow to fit the size of the nested gallery. It seems the TemplateSize setting sets the size of each "row" universally i.e. you can't have different sized "rows"

 

In the image below, the blue is parent gallery / template, the grey is the child gallery parented in the blue. I'm able to grow to grey as explained above but I am unable to grow the blue / parent area to fit with the grey / child gallery and it floods out and overlaps (see red arrow on image)

 

So, my question is two fold, firstly, is this the best way to to do the whole header row / child rows thing? secondly is there a way I can grow the parent to fit the children rows?

 

Thanks in advance

 

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Please ignore, I was using the wrong type of gallery, I should have been using the flexible height gallery

  • v-micsh-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Thanks for the update.

    If you need nay further help when working with PowerApps, please feel free to ask in PowerApps forums.

    Regards

  • Mahipal Profile Picture
    17 on at
    How to display data in gridview format using gallery control.please help me.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard