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

Community site session details

Session Id :

PowerApp – CDS for Apps – Remove items from Gallery list – Add Delete Button in Gallery control

Sachin Bansal Profile Picture Sachin Bansal

D1

Thanks to Audrie Gordon for such a nice video on PowerApp hacks. One of hack was related to how to extend Gallery list control to make it editable. On same lines, in this blog we will see how to add delete button to Gallery list which will remove item from list.

  • Select Gallery control, expand Icons under Insert tab and click on Trash icon to add it to Gallery control

D2

  • Align icon to right side. Select icon and add below code to OnSelect property of icon which will remove selected item from data source “Companies”.

Remove(Companies,ThisItem)

D3

  • Run your app, click on delete button. Item will be removed from Gallery list as well as deleted from data source.

Comments

*This post is locked for comments