Forum Discussion
josh_vts
Oct 29, 2024Copper Contributor
Conditionally hide item in custom gallery view
Hi all, Is there a way to conditionally hide an item in a custom view (gallery) based on the value of a Yes/No column? See screenshot below for my attempt using CSS 'display', but I find that it ...
- Oct 29, 2024
josh_vts You don't have to do this with json formatting, this can be done with regular settings in the view. Create a view in the list and add then filter the list as needed: In your case Isvisible = false.
Rob_Elliott
Oct 29, 2024Silver Contributor
josh_vts yes it will always leave a gap because the item s still there, it's just not being displayed.
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver)
josh_vts
Oct 29, 2024Copper Contributor
Rob_Elliott Thank you, understood. Is there a way to eliminate that gap?