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 / Remove Gallery single ...
Power Apps
Answered

Remove Gallery single Item with Button

(0) ShareShare
ReportReport
Posted on by 84

Hello,

I have a gallery with different items (datasource-sharepointlist) so now i want a button to delete a item from the list.

It workeds with 

Remove(Datasource;ThisItem)

So far so simple, so that an item is not accidentally deleted i set a Checkbox, which has to true to show the "delete button".

If(Checkbox1_47.Value=false;Disabled)

It also works well.

But now to my problem, if i delete the first item at the gallery all others "delete buttons" get activated. If a delete the second item it does not happen.

I have created a special video to show my problem

Link to Video: https://clipchamp.com/watch/6qFXdMZBgy0

What is the error? Do you have other ways to solve my problem?

 

Categories:
I have the same question (0)
  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Instead of check box you can use a simple pop up which is more conventional. 

    take a label and 2 buttons. Add them in a group. Set the group's visible property to variable "varPop".

     

    Now when user click on delete the pop up will visible asking for confirmation. If he clicks no pop up will be gone. If he clicks Yes. Item will be deleted and pop will be gone.

     

    a20.jpga21.jpga22.jpg

  • PowerAppUser98 Profile Picture
    84 on at

    Good Idea! 

    Work fine, thanks a lot 😚

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Glad it worked

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard