You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I would like to know if it's possible to get the global index of the draged element when dragging across a group.
In our case, we have a table with multiple tbody. The Sortable is instanciated on each tbody and they are grouped so that we can drag across all of the tbody which are part of the same table. Everything is fine, except that when we retreive the evt,newindex it is relative to the current tbody, but we need it to be relative to the whole table instead.
For those wondering, the reason why we have multiple tbody inside the table is that each one represent a group and start with a header which is the name of that group (similiar to the contact list in outlook when grouping).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I would like to know if it's possible to get the global index of the draged element when dragging across a group.
In our case, we have a table with multiple tbody. The Sortable is instanciated on each tbody and they are grouped so that we can drag across all of the tbody which are part of the same table. Everything is fine, except that when we retreive the evt,newindex it is relative to the current tbody, but we need it to be relative to the whole table instead.
For those wondering, the reason why we have multiple tbody inside the table is that each one represent a group and start with a header which is the name of that group (similiar to the contact list in outlook when grouping).
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions