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 / Cannot add DataTable i...
Power Apps
Answered

Cannot add DataTable into Layout Container

(0) ShareShare
ReportReport
Posted on by 10

Hi,

 

I have seen some youtube videos where a DataTable is added into a layout container, but I don't seem to be able to do it. Any ideas how to do it?

 

Thanks

Categories:
  • Verified answer
    cha_cha Profile Picture
    4,932 Moderator on at

    Hello @Flyingtuga2 

     

    I did try and also experience the same thing. I did find a document stating that Data Tables are not supported by Containers.

    https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-container

    cha_cha_0-1670678675491.png

    Moving forward, you should definitely be looking at Gallery as an alternative. Pretty much the gallery can do what Data Table does with a few tweaks and is far more customizable.

     


      ✔️
    Just in case my response helped you solve your problem, please mark/accept this as a SOLUTION.  This helps community members if they experience a similar issue in the future.

     

      🔗
    🕸bistek.space  🐦 @cha_bistek  📺 @BisTekSpace 
  • Flyingtuga2 Profile Picture
    10 on at

    Thanks @cha_cha , I had seen a video where this worked, but it seems this has changed.

     

    I am familiar with using gallery for table format, however way more cumbersome to create headings and align fields with headings. Any suggestions?

  • cha_cha Profile Picture
    4,932 Moderator on at

    Hello @Flyingtuga2 

     

    I was thinking of using Horizontal Gallery for each row but the problem is that a horizontal gallery doesn't support yet the variation of width, unlike the vertical one which supports the flexible height.

     

    You might still want to have a look at it especially if you have many columns with a similar width but the main problem is that there is no horizontal scrollbar so if you have many columns, they won't see the columns.

    https://youtu.be/FZvSQ69Aux4

     

  • cjoconnor35 Profile Picture
    40 on at

    Before adding the Datatable, add a label to the container , select the label and then add the data table. Then delete the label. 

  • vandromartins Profile Picture
    8 on at

    Great and simple resolution. Thanks!!

  • LaiCBRE Profile Picture
    72 on at

    I just can't make this work anymore 😕 Maybe they have patched this on the latest recommended authoring version 😞

  • wchaves Profile Picture
    3 on at

    Why does this work? Does anyone have any idea?

  • JacobI Profile Picture
    15 on at

    It works for me but only with the following steps:

    - make sure the container is selected in the form

    - click on insert to open the list with controls

    - instead of just clicking on the  table view, click and drag the control to the container

     

    This way it snaps into the container.

     
  • LaiCBRE Profile Picture
    72 on at

    woah! this worked! I didn't know you can drag controls from the list of controls!

  • leden Profile Picture
    28 on at

    This solution can work, but you need to make sure that the container you want to insert to is not beneath other containers (right-click container, reorder, bring forward) otherwise the data table will end up in the wrong container. (the UI for PowerApp development is a major drain on productivity, this really needs to be sorted out)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard