cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Microsoft
Microsoft

Auto height for data table

I have multiple datatable and each can have random number of items (from Azure DevOps connector). I don't want each table to have its own scroller as that will be ugly. I need a way to change the datable height automatically. There is a workaround I am thinking: Get number of rows and get the row height (somehow) and then calculate the table height then update.

 

But I don't see a way to get row height value.

 

Any help? 

2 REPLIES 2
Super User III
Super User III

I dont think this is available in Datatable. 

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/controls/control-data-table

 

The work around is to use a Gallery.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

The workaround I deal with this now is to have fixed width datatable. Then I measure the cell height and calculate datatable height by multiplying the number of rows.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (67,421)