x-sort plugin with not relative $position #4596
Unanswered
incmnsz-emmanuel
asked this question in
1. Help
Replies: 1 comment 2 replies
-
|
What exactly is it that you want? you can just put the original position on the struct itself...not totally sure what you're asking for. What should it do here? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to handle the position of the actual element, not the relative one that the x-sort plugin gave us. What I mean is something like this (a laravel's livewire usage), where each item has it's own default position from the backend (already defined in the database)
The issue comes because let's say we return two elements in the
foreachand the first element has a default backend position of 2 and the second one has a position of 4. So by using the x-sort relative positon each elements is sorted by its default positions of 0 and 1Eius.odit.impedit.-.Perfil.1_.Microsoft.Edge.2025-04-02.14-46-47.mp4
Beta Was this translation helpful? Give feedback.
All reactions