I have created a gallery and I am sorting by a date. To sort I click on an Icon that creates a local variable calld SortDescending1.
Icon code = UpdateContext({SortDescending1: !SortDescending1});
Then the code in the items property of the gallery is (If SortDescending1, descending, ascending).
So what I want to do is change the text property of a label so if the gallery is sorting by descending then the label text = "Descending" and vice versa for ascending.
Any help will be appreciated. Thanks !

Report
All responses (
Answers (