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 / Modern Table: Selected...
Power Apps
Suggested Answer

Modern Table: SelectedItems is empty for older virtualized rows when using a Collection

(0) ShareShare
ReportReport
Posted on by 6

The Modern Table control in Power Apps shows incorrect behavior when using a Collection as the data source. When the table contains more than 25 items, the control begins virtualizing rows. After scrolling down, selecting a previous loaded row triggers the OnSelect event, but both Selected and SelectedItems return empty.

An important detail:

  • SelectedItems works correctly for the most recently loaded (visible) items

  • SelectedItems fails for older items that were previously loaded but have since been virtualized out of the viewport

This indicates that the Modern Table loses the reference to earlier batches of data when new batches are loaded during scrolling.

Expected behavior:

  • Selecting any row should populate Selected and SelectedItems with the correct record

  • Virtualization should not break the link between UI rows and the underlying Collection

  • Collections should behave consistently regardless of scrolling position

Actual behavior:

  • Items in the currently visible batch work correctly

  • Items from earlier batches (scrolled out of view) return:

    • Selected = empty

    • SelectedItems = empty

    • OnSelect fires, but no record is returned

  • The issue occurs only when using a Collection as the data source or when I filter a SharePoint Online list without delegation (like inline text search).

Steps to reproduce:

  1. Create a Collection with more than 30 items
    Example:
    ClearCollect(colTest, YourDataSource)

  2. Insert a Modern Table control

  3. Set Items to the Collection (e.g., colTest)

  4. Scroll down to load additional items

  5. Select a row from the newly loaded items → works

  6. Scroll back up and select a row from the earlier items → SelectedItems is empty

Impact:
This issue makes the Modern Table unreliable for any scenario involving Collections, especially when using them for filtering, sorting, pagination, or offline data. Since Collections are widely used in Canvas Apps, this significantly limits the usability of the Modern Table control.

Categories:
I have the same question (0)
  • Suggested answer
    Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
    Hello @habex,
     
    Modern Table control is still in preview, so it is not recommended for production development.
     
    Reference link: 
     
    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------
     
    📩 Need more help? Mention @Kalathiya anytime!
    ✔️ Don’t forget to Accept as Solution if this guidance worked for you.
    💛 Your Like motivates me to keep helping!
  • habex Profile Picture
    6 on at
     
    Yes it is, but when such problems were never fixed, it will always stay in Preview. This should be fixed.
  • Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
    You’re right, Issues like this need to be fixed for the Modern Table to move out of preview. Since Collections are core to Canvas Apps, this should be raised as a formal bug via Microsoft Support or Power Apps Ideas.
     
    Hopefully this gets addressed soon!
     
     
    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
     
  • habex Profile Picture
    6 on at
     
    Where can I raise this issue?
    Because the Microsoft support will probably dismiss such an issue, because this control is still in preview. 
  • LT-28102202-0 Profile Picture
    13 on at
    I just ran into the same issue, I inspected the live monitor, the API returns the similar data between two rows.
    I was pulling my hair out figure to figure out the cause, good thing someone else is reporting the same issue. 
     
     
    When would we ever get a fix on this?
  • habex Profile Picture
    6 on at
    I do not know. I didn't report it anywhere else because I do not know where I could. Because this is still a preview control.
     
     @LT-28102202-0: Do you know, where we could raise this issue directly to Microsoft?
  • LT-28102202-0 Profile Picture
    13 on at
    I just did a search "Modern Table Selected" in the community, and lots of posts about it since Jan 2025, looks like it is not getting fixed any time soon.
     
    This one suggests creating a manual pagination to bypass the magically 25 rows limit.
     
  • habex Profile Picture
    6 on at
    Yes, I did that. 
     
    But it is a sad workaround.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard