Hello,
I am trying to apply sorting to my items in the gallery. Here is the formula in my sort ↑↓ button:
UpdateContext({varSort: !varSort})
and here in my item gallery:
SortByColumns(Filter(Ticket, User().Email = Requestor.Email , "Modified",If(varSort = true, Descending))
by default the item will be sort using modified date.
So now, I wanted to add the option for the user to sort between Modified and Created date when sorting. I have added two buttons as such:
Set(toggleModified, false);Set(toggleCreated, true)
But I can't seem to work and combine the formulas or are there any easier workaround to do this? Thank you in advanced!