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 / data table inside cont...
Power Apps
Suggested Answer

data table inside container

(0) ShareShare
ReportReport
Posted on by
Hey,
 
Is there any way to drag the data table inside the container?
 
Categories:
I have the same question (0)
  • Suggested answer
    WarrenBelz Profile Picture
    155,279 Most Valuable Professional on at
    Please refer to this document - Data Tables (and PDF Viewer, Web Barcode Scanner) are not supported inside a Container. Neither inserting or copy/cut paste work when tested here.
     
    A Gallery is, so you might consider using that instead - it is far better in many other respects as well.
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
  • Suggested answer
    11manish Profile Picture
    2,286 on at
    I tried and add the data table in the container 
     
     
    The "Cut and Paste" Method (Most Reliable)
     
    Power Apps often prevents direct dragging into containers to avoid accidental layout nesting.
     
    The most effective way to move the Data Table is:
    • Select your Data Table in the Tree View or on the canvas.
    • Press Ctrl + X (Cut).
    • Select the Container in the Tree View where you want the table to live.
    • Press Ctrl + V (Paste).
  • Suggested answer
    DP_Prabh Profile Picture
    354 on at

    Hi @CU10031835-1,

    Adding a Data Table control inside a container is not supported and copy paste is also not supported, which is a known limitation in Power Apps. This is documented by Microsoft here: Container control in Power Apps - Power Apps | Microsoft Learn

    As WarrenBelz mentioned, a Gallery control is a better alternative. Using a gallery inside containers allows you to build a custom table-like layout and implement features such as sorting and other functionalities, similar to a data table.

    Regarding the copy-paste workaround for Data Table controls, Microsoft has also documented a limitation. When you copy and paste a Data Table whose Items property uses a Filter() formula, Power Apps may automatically append _1 to field names in the new control. This makes the field names invalid, resulting in no data being displayed in the table.

    Workarounds:

    • Before copying the control, make sure the Filter() function does not reference fields that have the same names as columns in the Data Table. If it does, rename the column in the Data Table.

    • After pasting, remove the _1 suffix from the field names so they match the original column names in the data source.

    • Reference: Data table control in Power Apps - Power Apps | Microsoft Learn

  • WarrenBelz Profile Picture
    155,279 Most Valuable Professional on at
    A quick follow-up to see if you received the answer you were looking for. Happy to assist further if not.
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like â™¥
    Visit my blog
    Practical Power Apps    LinkedIn   

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard