Announcements
Hi,
I have a Gallery that shows a list of machines. I would like to give a number value (Priority Value) to each machine. The gallery is sorted by this value 1 - 60. The user enters a new value in a text input box on each line of the gallery. I'd like the line of the gallery to automatically sort and change the value of the next item by 1 each time a value is changed.
So there can only ever be items 1 -60 and no duplicates. So if I change line item 10 to line item 2 all the items underneath need to change accordingly.
Is this possible?
Thanks
Where does that Priority Value come from? Is it stored in the list of machines as well or is it created on the fly when filling the gallery?
In the first case you could change (Patch) all the records with a value greater than the one you entered with an appropriate ForAll loop over the collection or list and updating the gallery afterwards.
Hi, I have the same requirement. Can I know the solution please ?
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.
11manish 411 Super User 2026 Season 2
Mohsin Ali 338
WarrenBelz 256 Most Valuable Professional