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 / Periodic Power Apps Gr...
Power Apps
Unanswered

Periodic Power Apps Grid Error

(1) ShareShare
ReportReport
Posted on by 6
We are using the Power Apps Grid as a subgrid in our model driven apps. These are tied to simple child tables of data.
 
Periodically, we keep getting the error below which breaks the Power Apps Grid and requires refreshing and retrying. For some users this is happening frequently and for others not often.
 
TypeError
 
Error Message
Cannot read properties of undefined (reading 'getFirstVirtualRenderedRow)
 
State Trace
TypeError: Cannot read properties of undefined (reading 'getFirstVirtualRenderedRow)
 
Component Stack
 
Is anyone else seeing this issue?
 
I have a support ticket open, but getting a bug that is hard to reproduce through support escalation is almost impossible these days. So I am hoping someone from the product team sees this and will take a look.
 
I have the same question (0)
  • SaiRT14 Profile Picture
    1,990 Super User 2025 Season 1 on at
     
    The TypeError you're encountering typically happens when the grid tries to access rows that aren't ready or loaded yet. Set the visibility of the subgrid to be conditional based on whether the data has been loaded successfully. Try increasing the number of initial rows that are fetched and rendered by the grid. This will reduce the chances of the getFirstVirtualRenderedRow property trying to access an undefined row.
     
    thanks
  • draidens Profile Picture
    5 on at
    I'm experiencing the same error, it happens intermittently too, I have a couple or real time workflows creating records that should appear in a subgrid or 2 and the grids have that exact same behaviour. Capturng any tracing, or network is difficult because we are not able to reproduce consistently.
     
  • draidens Profile Picture
    5 on at
    Just to add context, we have multiple grids and as the post happens randmoly to different users and different frequency, it seems more on grid-refresh related behaviours. 
    A user was getting in more consistently but when we screenshare it stopped, while when solo it started to re-appear. My machine is a lot more performant than the customer and I don't have any issues (i saw the error maybe 2 times in a month). 
     
    No apparent error in the Network tab, especially on the data retrieve side, all the queries returned results adn in the console just the error that happened:
     
    "vendor.41182f40158752b47658ab06a0afe6d1.js:9 TypeError: Cannot read properties of undefined (reading 'getFirstVirtualRenderedRow')
        at g.getFirstDisplayedRow (PowerAppsOneGrid.D08F4C6.js:2:353237)
        at zo.getBlockToLoad (PowerAppsOneGrid.D08F4C6.js:2:1509413)
        at zo.getNextBlockToLoad (PowerAppsOneGrid.D08F4C6.js:2:1511136)
        at zo.queueLoadAction (PowerAppsOneGrid.D08F4C6.js:2:1511396)
        at Object.a [as success] (PowerAppsOneGrid.D08F4C6.js:2:1510644)
        at Object.successCallback (PowerAppsOneGrid.D08F4C6.js:2:1687067)
        at b (PowerAppsOneGrid.D08F4C6.js:2:2216160)
        at wm.checkCacheForRows (PowerAppsOneGrid.D08F4C6.js:2:2216555)
        at wm.dataSetUpdated (PowerAppsOneGrid.D08F4C6.js:2:2219754)
        at onDataSetUpdated (PowerAppsOneGrid.D08F4C6.js:2:2273317)
        at PowerAppsOneGrid.D08F4C6.js:2:2263646
        at Array.map (<anonymous>)
        at Tm.dispatch (PowerAppsOneGrid.D08F4C6.js:2:2263638)
        at bC.componentDidUpdate (PowerAppsOneGrid.D08F4C6.js:2:2358393)
        at pu (vendor.41182f40158752b47658ab06a0afe6d1.js:9:85705)
        at Nl (vendor.41182f40158752b47658ab06a0afe6d1.js:9:102672)"
  • CU24011932-0 Profile Picture
    6 on at
    @SaiRT14 This makes so much sense, thank you. How do we set the visibility of the subgrid to be conditional based on whether the data has been loaded successfully? I have dug around and can't figure out how to accomplish this. Is this somehow done with a business rule?

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard