Notifications
Announcements
ClearCollect(colMenu, {Title:"NTA", Order:1, Navigate:'NTA Questions', Visible:true}, {Title:"Data Protection", Order:2, Navigate:'Data Protection', Visible:true}, {Title:"CSV", Order:3, Navigate:CSV, Visible:true});
Gallery - Items - colMenu
@Robert94
What do you mean by moving Order to the bottom?
If the ThisItem is hidden, move the hiddenitems tabs to the bottom, this way it won`t be any spaces between visible tabs. Basicallry sort the Visible item by descending, Visible Items to be first, Hidden Items to be last.There is a photo uploaded with the gallery.
Sort(colMenu, If(LMB1.visibleNTA=false, If(ThisRecord.Title="NTA", ThisRecord.Order, Descending), LMB1.visibleDP=false, If(ThisRecord.Title="DP", ThisRecord.Order, Descending), LMB1.visibleCSV=false, If(ThisRecord.Title="CSV", ThisRecord.Order, Descending) ))
Something like this, maybe you get the point if you see this code
Yes, I saw your photo and it was the same order and everything based on the table you supplied to the Items.
I am assuming that the goal of the Visible property is to filter out things that should not be visible. They are all set to true, so not sure what value that plays or where it comes in.
If you are not using Visible to "hide" items, then can you clarify the use?
When you say tabs - what is it that you are referring to?
For eg on this photo, i want the CSV tab to be on top, because the other ones are hidden.
But they are not hidden! They are still in your gallery records.
You are looking at this from the inner gallery rather than the Items.
What is LMB1??
Yes my bad, that code doesn`t seem it will work proerly, in realtime. Sorry about that.So the visibility property of the gallery items is this:
If(ThisItem.Title="NTA",LMB1.visibleNTA, ThisItem.Title="Data Protection",LMB1.visibleDP, ThisItem.Title="CSV",LMB1.visibleCSV )
Tabs means Items/Records of the gallery.
But what is LMB1?
LMB1.visibleNTA is a property from a component that get`s updated in real time (based on answers from a form), and then it returns a true/false value.For eg.LMB1.visibleNTA - Property:
If(dcvDataCollecting.Selected.Value="I don`t know" , true,false)
Photo for better understanding of the LMB1
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 717 Most Valuable Professional
Michael E. Gernaey 329 Super User 2025 Season 2
Power Platform 1919 268