Open coffeeneed opened 5 years ago
@coffeeneed can you create a Playground demo that illustrates what you have done so far and what you are trying to achieve.
@NickIliev Thanks for your response. Of course. Here's what I have: https://play.nativescript.org/?template=play-vue&id=or76ap&v=5 What I'm trying to achieve is to change sortings of the groups. Let's say I want the list like this: Second floor Item 1 Item 2 First Floor Item 3 Third floor Item 4 Item 5 Item 6
Is this possible to fix in some way? Any clues on how I should go about? I felt I've trying everything with the sortingFunction, but as I understand, that one is only made for the text inside the loops, not the headers ("Second floor", "Third floor").
Cheers.
@NickIliev I've just encountered this issue myself, my grouping is based on date, it is displayed in ascending order when I would like it to be descending. Is there a way for us to manipulate the grouping past the initial grouping itself?
@tsonevn You closed my ticket in favor of this one, but still no one has responded to the thread after the OP posted a playground as requested. Could we please get an update on the ticket, this is the 3rd ticket I've seen on the issue but I'm yet to see any real reply to any of them on if this is functionality you will be looking to implement. Thanks.
So, is there a way to achieve this? I am facing the same issue. I am wondering why this ticket is closed if nobody had answered it.
Please, provide the details below:
Tell us about the problem
I'm not able to sort my groupings after my needs. I've set up grouping system based on one of the values from the for loop. However, those sorting text headers are however sorted alphabetically. That make sense, has anyone managed to sort these group names after their own need? What if I don't want to sort after the names which are made for the groups?
Which platform(s) does your issue occur on?
Both
Please provide the following version numbers that your issue occurs with:
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
Grouping function grouped by employee position
myGroupFunction(player) { return employee.position; },
However, I don't want the groupings to be sorted alphabetically. Any ideas would be greatly appreciated.