Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

BUG: Modern Table .Selected property breaking in when source is refreshed

(0) ShareShare
ReportReport
Posted on by 54

I recently ran into an issue with the .Selected property resetting for the Modern Table component. After some troubleshooting I've been able to narrow down the cause of this issue, but no solution yet.

After consulting with Microsoft support they told me to make a post here, since the modern component development is handled through the forums (?!?).

 

Problem:

The Table.Selected property will break when the user has sorting enabled and then refreshes the source. This happens when updating the source using a form, but also when using Refresh(source).

 

How to recreate:

1. Modern Table with SharePoint as source (170 rows in my case)

2. Sort by ID descending.

3. Select one of the last records (e.a. 168)

4. Refresh data source of the table

5. Click record Result: Tabel.Selected will be Blank

 

Impact: 

The intuitive Modern Table becomes unuseable for datasources which require a combination of sorting and updating

  • CU01111442-0 Profile Picture
    CU01111442-0 54 on at
    Re: BUG: Modern Table .Selected property breaking in when source is refreshed

    I mean built in sorting like the modern tables have, where you can click the columns to sort.

    I'm aware you can sort the datasource using sorting formula's, but the modern table does not need this.

  • mmbr1606 Profile Picture
    mmbr1606 10,450 on at
    Re: BUG: Modern Table .Selected property breaking in when source is refreshed

    what do you mean? you can show items in a gallery and sort/filter there also

  • CU01111442-0 Profile Picture
    CU01111442-0 54 on at
    Re: BUG: Modern Table .Selected property breaking in when source is refreshed

    Classic control does not have sorting functionality.

  • mmbr1606 Profile Picture
    mmbr1606 10,450 on at
    Re: BUG: Modern Table .Selected property breaking in when source is refreshed

    hey @LVerhVRE 

     

    have u tried it if it work with classic controls? My suggestion until now is, not to use modern controls cause many of them are still in preview and can be buggy at times.

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard