cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Thura
Helper II
Helper II

Unable to Display details of gallery items

Hi all,

 

I have a gallery in power app. I want to display details and I put Select(Parent) in OnSelect property. But it is showing only the first item details even though I choose other items. This is the first time I encountered this issue. I did the same way as other galleries but there was no issue. Please help me. Thanks.

Thura_0-1641771668913.png

 

1 ACCEPTED SOLUTION

Accepted Solutions

@Thura ,

I meant the Item of the Form you are navigating to for displaying the record

View solution in original post

8 REPLIES 8
WarrenBelz
Super User
Super User

Hi @Thura ,

Select(Parent) on a gallery component (such as your icon) simply runs whatever code is on the OnSelect of the gallery itself. What code do you have on there?

Hi @WarrenBelz,

 

There is only Select(Parent) on a gallery component (arrow icon) as shown in above picture. It works but it shows details of the first item only even though I select other items. It keeps showing details of first item. I don't know what is the root cause of that. But there is no issue in other gallery. Only this one is showing like this.

@Thura ,

I meant what is the code OnSelect of the Gallery (not the icon) - there has to be something there for it to show the item.

@WarrenBelz ,

 

Just only Navigate is there.

@Thura ,

Then what is the Item of your Form?

@WarrenBelz 

 

The below code is at the Item of the gallery.

 

DropColumns(SortByColumns(AddColumns(Search(DataSource, TextSearchBox.Text, ColumnName),"_sortOrder",Switch(ColumnName.Value,"SCCM",1,"DRM",2,"Telius",3,4)),"_sortOrder",Ascending),"_sortOrder")

 

 

@Thura ,

I meant the Item of the Form you are navigating to for displaying the record

@WarrenBelz 

 

Thank you. I just found out that the gallery in the Item of the Form is wrong. The issue is solved. 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (5,080)