web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Canvas Modern Table De...
Power Apps
Unanswered

Canvas Modern Table DefaultSelectedItems

(0) ShareShare
ReportReport
Posted on by

Hi everyone, 

I'm trying to set a Modern Table DefaultSelectedItems property in order to populate the selection after filtering the data source. For example, I'd like to select the first record, so I tried DefaultSelectedItems: First(GridItems) / Table(First(GridItems)) but bot don't populate the selection, instead, it looks like the grid refreshes and the selected cell remains in focus.

 

Any thoughts?

Categories:
I have the same question (0)
  • Gerard Simpson Profile Picture
    2,987 Moderator on at

    Hi @royg 

     

    One way to achieve this is to copy the Table Items code into the default selected items and wrap the first function around that.

     

    Hope this helps

  • royg Profile Picture
    on at

    Hi @AmDev,

    Thanks for your prompt reply.

    Unfortunately, I tried that already but that didn't work. I have to add that the data source is SharePoint and not Dataverse.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard