Announcements
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)
Hi @malvarezcc - Check the displaymode of the icon to make sure it is in edit mode
thanks for your answer, yes is DisplayMode.Edit
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?
@malvarezcc
Also, try moving it around a bit and make sure that it is actually inside the gallery.
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
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
@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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 401 Most Valuable Professional
11manish 201 Super User 2026 Season 2
MS.Ragavendar 128 Super User 2026 Season 2