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 / loader inside modern t...
Power Apps
Unanswered

loader inside modern table loads forever even if if Collection is empty

(0) ShareShare
ReportReport
Posted on by 15

I am using SharePoint as my datasource and using Modern Table control to display my Data from SharePoint list in Grid. When there are some records in List, then those records are displayed in Modern Table. Problem starts, when there are no records in my SP List, loader inside Modern Table loads forever.

Below is my code:

I load data on OnSelect of button on First Screen and use colGridData on another to display data in Grid on some other table

// Load Grid data
ClearCollect(
    colGirdData,
    Filter(
        'My Child SP List',
        'My Child SP List'.Id = ParentList.Selected.ID
    )
);
 
Items Property: 
ForAll(Sequence(CountRows(colGirdData)), Patch(Last(FirstN(colGirdData, Value)), {'Sr. No': Value}))
//Here ForAll, Sequence Patch functions are used just for adding Serial No to my collection

My scenario is, I have two lists. One, Projects list (Parent), second Tasks List(child). Tasks list has a lookup column to Projects list.

modern table.PNG

Categories:
  • hamid_mahmood96 Profile Picture
    15 on at

    @WarrenBelz  any suggestions

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @hamid_mahmood96 ,

    Responding as you tagged me. There is nothing wrong with your code - Modern Controls are still mostly in Preview and can be inconsistent such as your example. I suggest you revert to. Classic control for now.

     

    Please click Accept as solution 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 giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard