Comments (8)
@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.
@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.
@Zicrael we can't use this package for drag and drop an element between two trees?
from ngx-tree-dnd.
@RmilaWeb at the current version - no:( But I hope I will fix it in next versions.
from ngx-tree-dnd.
@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.
@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.
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">
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.
@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)
- onAddItem doesn't work HOT 7
- How can I call an event when delete button is clicked? HOT 9
- root
- How to hide root actions buttons.? HOT 6
- How to get all element with id and parent id after drop(onDrop) any element? HOT 2
- How to set custom button only for child? HOT 4
- how to override a tree template HOT 2
- checkTreeLength bug HOT 3
- Hide "+" button from 3rd level HOT 4
- Unable load SVG in production build HOT 4
- Is there any way to get node level in the tree ? HOT 1
- Is there a way to disable drag on my items? HOT 3
- Disable Confirmation dialog on delete HOT 1
- Add field in ngx tree dnd ?
- How to change tree children's actions icon?
- Unable load SVG in production build while using ngx tree dnd HOT 1
- bug with "onFinishDeleteItem" event
- How to add more fields to TreeModel interface
- Option to collapse the subfolders of root folders
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-tree-dnd.