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 / Trash icon in collection
Power Apps
Answered

Trash icon in collection

(0) ShareShare
ReportReport
Posted on by 52

hi, im making a timesheet app. (see picture) in the blue line is the data i'm adding to the collection ( + icon to add), then a gallery underneath (blue) to show the items i adding but i want to put a trash icon to delete a row from collection, i tried the code remove (shown in picture) but the icon is unclickable. can somebody help me? (the save timesheet button is for to send the information from the collection to the sharepoint list)trash.JPG

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

    Hi @malvarezcc  - Check the displaymode of the icon to make sure it is in edit mode

  • malvarezcc Profile Picture
    52 on at

    thanks for your answer, yes is DisplayMode.Edit

  • Gerard Simpson Profile Picture
    2,987 Moderator on at

    Whenever you try to select it in the editor in the app layout, does that then select something else i.e. whatever is masking it?

     

    Is there potentially a transparent container or rectangle, which is spilling down over your gallery?

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @malvarezcc 

    Also, try moving it around a bit and make sure that it is actually inside the gallery.

  • malvarezcc Profile Picture
    52 on at

    thanks @AmDev  and @DRR , is definitely inside the gallery and i have not something on top of it, i checked every layer and nothing on top. i can use every kind of button in my app but just that trash icon is not working. do you guys know another different code for this? thanks so much

  • Gerard Simpson Profile Picture
    2,987 Moderator on at

    I see in the screenshot above that your Gallery1 is at the bottom of the controls tree.  can you try right clicking on Gallery1 and 'bring to front'?

     

    Your code is fine as is if this icon issue could be sorted

  • Verified answer
    Ramole Profile Picture
    Super User 2024 Season 1 on at

    @malvarezcc 
    First try 

    Remove(colTimesheetDetails,ThisItem).Value

     

    Second option, if above not work

    To troubleshoot what you can do is add new gallery use same collection add delete icon see if it will work

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 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard