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

Announcements

News and Announcements icon
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 Microsoft Employee

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
    Microsoft Employee 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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard