How to disable specific item in PowerApps gallery


You can disable specific items in a PowerApps gallery by using a workaround. First, group all the controls in the gallery and reference ThisItem to create a condition for the specific item you want to disable. Then, create a variable to store the selected item and use it instead of the gallery.Selected property. Similarly, replace ThisItem.IsSelected with the variable to remove the default styling of the gallery. By bypassing the default functionality of the gallery and using the variable, you can make certain items unselectable.


Article 15m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time