-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can child element be unsortable ? #1150
Comments
As far as I can see you can't target an item to exclude, but you can specify what items are sortable. So if you can add a class to everything other than that last element, then you can use the
|
if you want it to be at the end of the row, why not exclude it from your sortable list altogether? just render it after/outside whatever element you're using as the container for the sortable items. can you provide a working fiddle/jsbin/codepen for your specific scenario? That could help us provide a solution. |
I'm trying to achieve the same thing too. Have you found a solution or workaround? |
@ethanyuwang have you tried rendering it outside the sortable list container? |
@Xiangfs you definitely can tell an element to be "unsortable". See the example link on the documentation for |
You can achieve this using |
The text was updated successfully, but these errors were encountered: