Coder Social home page Coder Social logo

Comments (5)

freddyamsterdam avatar freddyamsterdam commented on June 19, 2024

@Danita, are you dragging the node from a connected sortable list?

from nestedsortable.

Danita avatar Danita commented on June 19, 2024

Oh, I reported this a long time ago... I don't really remember. Let me see if I'm still using the library in any of my projects 😄

from nestedsortable.

freddyamsterdam avatar freddyamsterdam commented on June 19, 2024

Yeah, didn't realise until after I commented. 😂

from nestedsortable.

LrntL avatar LrntL commented on June 19, 2024

I'm interested with this. I use connected list.
I use two times nestedSortable :

  • The 1st to manage category and subcategory on 2 levels (not connected)

  • The 2nd to manage item (in these categories/subcategories), connected with css class on 1 level.

What I want is to drag item from a category/subcategory to another without be able to drop it in the root of the categories.

Dropping item in another category/subcategory is working but I can't prevent dropping in root of the categories.

Do you know how to do that ?

from nestedsortable.

LrntL avatar LrntL commented on June 19, 2024

Ok. For you interest, take a look at this fork (in development) : https://github.com/CanopyApps/nestedSortable/tree/develop

It has "maintainNestingLevel" option when set to true does what I need.
Do you how to achieve this in our case ?

from nestedsortable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.