Coder Social home page Coder Social logo

Comments (8)

Zicrael avatar Zicrael commented on May 28, 2024

@sarahm7 ,

Yes, I think it required a lot of changes. I will try fix repository after I finish another new pachage ( vue-tree-dnd) and take example of code from new package, because I write it clear and smart (have much more expirience since this repo) .
Thank you for download it, I am sorry for this bugs.

from ngx-tree-dnd.

sarahm7 avatar sarahm7 commented on May 28, 2024

@Zicrael thanks for the reply! i'm trying to fix it in my end but i'm not sure if the approach is good for you. I placed a rootId on the tree model so i can keep track which instance it is. im testing it now and if its good already i'll create a pull request later.

from ngx-tree-dnd.

NoureddineRmila avatar NoureddineRmila commented on May 28, 2024

@Zicrael we can't use this package for drag and drop an element between two trees?

from ngx-tree-dnd.

Zicrael avatar Zicrael commented on May 28, 2024

@RmilaWeb at the current version - no:( But I hope I will fix it in next versions.

from ngx-tree-dnd.

NoureddineRmila avatar NoureddineRmila commented on May 28, 2024

@RmilaWeb at the current version - no:( But I hope I will fix it in next versions.

thanks for the reply! Can you tell me when the next version? Cause need this future.

from ngx-tree-dnd.

hirenkukadiya avatar hirenkukadiya commented on May 28, 2024

@sarahm7 can you make multiple tree?
I placed a rootId on the tree model so i can keep track which instance it is. im testing it now and if its good already i'll create a pull request later.
If its work then please share your experience..
and how it work.?

from ngx-tree-dnd.

sarahm7 avatar sarahm7 commented on May 28, 2024

yes i was able to do it after modifying the code. although i can't do a pull request at the moment since i'm still testing it. basically you can use it like this:

<app-tree [rootId]="1">
<app-tree [rootId]="2">
<app-tree [rootId]="3">
<app-tree [rootId]="4">

image

so the singleton tree-service can handle the event properly based on the rootId. i'm not sure if its the best solution though.

from ngx-tree-dnd.

Zicrael avatar Zicrael commented on May 28, 2024

@sarahm7 , @hirenkukadiya Thank you for support this. I don`t have so much time now for package, but I can make you collabarators. Also I almost finish new plugin for vue. Better, faster, a lot of functionality, I share it with you guys.

from ngx-tree-dnd.

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.