Open beekhof opened 1 year ago
@beekhof How can we use that functionality of drag and drop for https://github.com/bumbeishvili/org-chart/pull/307? Is there any Stackblitz or code-sandbox for that? Please let me know.
@bumbeishvili
How can i use your updated version (Drag and Drop Functionality) ?
I second this, please implement this feature.
@seanpmaxwell
To implement this feature, I have to discard paid projects and lose about 1500-2500$ , so if someone who needs it is willing to pay this amount, I am happy to implement it and include it in the build
@bumbeishvili @seanpmaxwell @riyasat-ali @A7medMo7ammed20 @beekhof
Here is my drag example.. I copied what I could from our production app. https://stackblitz.com/edit/js-bmyjfc?file=index.html
This has undo/redo/cancel built into it. Also each node can be draggable or droppable.
I made a button to start the drag process.. otherwise there are all kinds of issues when trying to pan while dragging is enabled. So you have to click organize to start the drag-drop.
@bumbeishvili Feel free to fork this and add it to the examples
@bumbeishvili @seanpmaxwell @riyasat-ali @A7medMo7ammed20 @beekhof
Here is my drag example.. I copied what I could from our production app. https://stackblitz.com/edit/js-bmyjfc?file=index.html
This has undo/redo/cancel built into it. Also each node can be draggable or droppable.
I made a button to start the drag process.. otherwise there are all kinds of issues when trying to pan while dragging is enabled. So you have to click organize to start the drag-drop.
@bumbeishvili Feel free to fork this and add it to the examples
Thanks so much for this.
@bumbeishvili @seanpmaxwell @riyasat-ali @A7medMo7ammed20 @beekhof
Here is my drag example.. I copied what I could from our production app. https://stackblitz.com/edit/js-bmyjfc?file=index.html
This has undo/redo/cancel built into it. Also each node can be draggable or droppable.
I made a button to start the drag process.. otherwise there are all kinds of issues when trying to pan while dragging is enabled. So you have to click organize to start the drag-drop.
@bumbeishvili Feel free to fork this and add it to the examples
Thanks so much for this.
There is an open PR that has more defined code.
@bumbeishvili @seanpmaxwell @riyasat-ali @A7medMo7ammed20 @beekhof
Here is my drag example.. I copied what I could from our production app. https://stackblitz.com/edit/js-bmyjfc?file=index.html
This has undo/redo/cancel built into it. Also each node can be draggable or droppable.
I made a button to start the drag process.. otherwise there are all kinds of issues when trying to pan while dragging is enabled. So you have to click organize to start the drag-drop.
@bumbeishvili Feel free to fork this and add it to the examples
Thanks so much for this.
There is an open PR that has more defined code.
More than the stackblitz example? I saw that but it does it also require the html buttons that the stackblitz example did?
@bumbeishvili @seanpmaxwell @riyasat-ali @A7medMo7ammed20 @beekhof
Here is my drag example.. I copied what I could from our production app. https://stackblitz.com/edit/js-bmyjfc?file=index.html
This has undo/redo/cancel built into it. Also each node can be draggable or droppable.
I made a button to start the drag process.. otherwise there are all kinds of issues when trying to pan while dragging is enabled. So you have to click organize to start the drag-drop.
@bumbeishvili Feel free to fork this and add it to the examples
Thanks so much for this.
There is an open PR that has more defined code.
More than the stackblitz example? I saw that but it does it also require the html buttons that the stackblitz example did?
The PR is for adding the code to the library. So it is probably not useful to you until @bumbeishvili merges it.
The example in the stack blitz is an implementation on top of the existing library that requires much more code on your side. I am currently using the stackblitx example in my own production codebase.
Though I am using angular, and not HTML buttons and selectors
@bumbeishvili @seanpmaxwell @riyasat-ali @A7medMo7ammed20 @beekhof
Here is my drag example.. I copied what I could from our production app. https://stackblitz.com/edit/js-bmyjfc?file=index.html
This has undo/redo/cancel built into it. Also each node can be draggable or droppable.
I made a button to start the drag process.. otherwise there are all kinds of issues when trying to pan while dragging is enabled. So you have to click organize to start the drag-drop.
@bumbeishvili Feel free to fork this and add it to the examples
Thanks so much for this.
There is an open PR that has more defined code.
More than the stackblitz example? I saw that but it does it also require the html buttons that the stackblitz example did?
The PR is for adding the code to the library. So it is probably not useful to you until @bumbeishvili merges it.
The example in the stack blitz is an implementation on top of the existing library that requires much more code on your side. I am currently using the stackblitx example in my own production codebase.
Though I am using angular, and not HTML buttons and selectors
Hmm, so I can probably replicate what's in stackblitz in my own code if I can rewrite in in Html? Thanks. I'll message again if I have any other questions.
@bumbeishvili @seanpmaxwell @riyasat-ali @A7medMo7ammed20 @beekhof
Here is my drag example.. I copied what I could from our production app. https://stackblitz.com/edit/js-bmyjfc?file=index.html
This has undo/redo/cancel built into it. Also each node can be draggable or droppable.
I made a button to start the drag process.. otherwise there are all kinds of issues when trying to pan while dragging is enabled. So you have to click organize to start the drag-drop.
@bumbeishvili Feel free to fork this and add it to the examples
Thanks so much for this.
There is an open PR that has more defined code.
More than the stackblitz example? I saw that but it does it also require the html buttons that the stackblitz example did?
The PR is for adding the code to the library. So it is probably not useful to you until @bumbeishvili merges it.
The example in the stack blitz is an implementation on top of the existing library that requires much more code on your side. I am currently using the stackblitx example in my own production codebase.
Though I am using angular, and not HTML buttons and selectors
Dude your sample code is amazing, I'm almost done with drag and drop. One thing though, it always inserts at the beginning on the siblings. Any idea how I can get it to insert at the end?
Add basic drag-and-drop functionality