Skip to content
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

Drag and drop? #17

Closed
npearson72 opened this issue Jul 19, 2016 · 15 comments
Closed

Drag and drop? #17

npearson72 opened this issue Jul 19, 2016 · 15 comments

Comments

@npearson72
Copy link

Any plans to add drag and drop?

@ghost
Copy link

ghost commented Jul 20, 2016

Yes.
But it will take me at least 2 weeks.

I'm thinking about introducing it as a plugin, not to contaminate the
source code too much.

On Wed, Jul 20, 2016 at 1:44 AM, Nathan Pearson notifications@github.com
wrote:

Any plans to add drag and drop?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#17, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACUsQzhsZYWoeLteFjZB7Svxrv2YDYz-ks5qXVNGgaJpZM4JQQIj
.

Adam Klein
CTO & Co-Founder
Tel. +972-52-747-5633
blog.500tech.com http://blog.500tech.com
meetup.com/angularjs-il

@npearson72
Copy link
Author

That would be cool. Would be nice to have a native Angular 2 alternative to
jstree.

On Wed, Jul 20, 2016 at 9:27 AM, 500Tech notifications@github.com wrote:

Yes.
But it will take me at least 2 weeks.

I'm thinking about introducing it as a plugin, not to contaminate the
source code too much.

On Wed, Jul 20, 2016 at 1:44 AM, Nathan Pearson notifications@github.com
wrote:

Any plans to add drag and drop?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#17, or mute
the thread
<
https://github.com/notifications/unsubscribe-auth/ACUsQzhsZYWoeLteFjZB7Svxrv2YDYz-ks5qXVNGgaJpZM4JQQIj

.

Adam Klein
CTO & Co-Founder
Tel. +972-52-747-5633
blog.500tech.com http://blog.500tech.com
meetup.com/angularjs-il


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQxluCmc0H6C9ti8Dynmf7P4_dh0alEks5qXb_PgaJpZM4JQQIj
.

@ghost
Copy link

ghost commented Jul 21, 2016

That's where we're going :)

On Wed, Jul 20, 2016 at 9:41 AM, Nathan Pearson notifications@github.com
wrote:

That would be cool. Would be nice to have a native Angular 2 alternative to
jstree.

On Wed, Jul 20, 2016 at 9:27 AM, 500Tech notifications@github.com wrote:

Yes.
But it will take me at least 2 weeks.

I'm thinking about introducing it as a plugin, not to contaminate the
source code too much.

On Wed, Jul 20, 2016 at 1:44 AM, Nathan Pearson <
notifications@github.com>
wrote:

Any plans to add drag and drop?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#17, or
mute
the thread
<

https://github.com/notifications/unsubscribe-auth/ACUsQzhsZYWoeLteFjZB7Svxrv2YDYz-ks5qXVNGgaJpZM4JQQIj

.

Adam Klein
CTO & Co-Founder
Tel. +972-52-747-5633
blog.500tech.com http://blog.500tech.com
meetup.com/angularjs-il


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
#17 (comment)
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/ABQxluCmc0H6C9ti8Dynmf7P4_dh0alEks5qXb_PgaJpZM4JQQIj

.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUsQ6q9NwuSaUDZhSWyuMhWypBbQlz8ks5qXcMJgaJpZM4JQQIj
.

Adam Klein
CTO & Co-Founder
Tel. +972-52-747-5633
blog.500tech.com http://blog.500tech.com
meetup.com/angularjs-il

@lemacabre
Copy link

Hello,
I am searching for a tree view with a drag and drop functionality for angular 2 / typecript since a few days. Now I found this post. I hope this plugin will be realized. It would be cool. ;)

@npearson72
Copy link
Author

Would be nice to have select box options too. Scenario: I have something I
want to add to multiple categories in my tree, I can select them and click
save.

On Mon, Jul 25, 2016 at 3:34 PM, lemacabre notifications@github.com wrote:

Hello,
I am searching for a tree view with a drag and drop functionality for
angular 2 / typecript since a few days. Now I found this post. I hope this
plugin will be realized. It would be cool. ;)


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQxlqCqB9FB9TZMNqgFj39pappxAWTYks5qZK08gaJpZM4JQQIj
.

@ghost
Copy link

ghost commented Aug 4, 2016

Hi,

  1. you can achieve that with a custom template.
  2. I intend to add a multi select option to the tree later on (but if you
    want checkboxes, then it will still be a custom template)

On Mon, Jul 25, 2016 at 3:54 PM, Nathan Pearson notifications@github.com
wrote:

Would be nice to have select box options too. Scenario: I have something I
want to add to multiple categories in my tree, I can select them and click
save.

On Mon, Jul 25, 2016 at 3:34 PM, lemacabre notifications@github.com
wrote:

Hello,
I am searching for a tree view with a drag and drop functionality for
angular 2 / typecript since a few days. Now I found this post. I hope
this
plugin will be realized. It would be cool. ;)


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/500tech/angular2-tree-component/
issues/17#issuecomment-234940506>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
ABQxlqCqB9FB9TZMNqgFj39pappxAWTYks5qZK08gaJpZM4JQQIj>
.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUsQ9FLdajbCQRIrq8-vKVB6yrfEUdfks5qZLIPgaJpZM4JQQIj
.

Adam Klein
CTO & Co-Founder
Tel. +972-52-747-5633
blog.500tech.com http://blog.500tech.com
meetup.com/angularjs-il

@adamkleingit
Copy link
Contributor

Multi select is implemented in the latest version, you can use node.toggleActivated(true) - the true tells it to do multi select.
Then treeModel.getActiveNodes() will return all the selected nodes.

@adamkleingit adamkleingit changed the title Drag and dop? Drag and drop? Aug 16, 2016
@sante85
Copy link

sante85 commented Aug 26, 2016

when drag & drop behaviour in the tree be implemented?

@KeithGillette
Copy link
Contributor

I'm very much looking forward to this functionality, as I would pay for an AngularJS 2 treeview component that supports drag & drop. I see one out there right now, but your implementation has significant advantages with its support for keyboard navigation, customizable field mappings, multi-select, etc.

@adamkleingit
Copy link
Contributor

Thanks for the motivation :) I will definitely push the pedal on this one,
as you are not the only one that requested it.
And don't worry, you don't need to pay - this is an open source project ;)

On Tue, Sep 27, 2016 at 8:46 PM, KeithGillette notifications@github.com
wrote:

I'm very much looking forward to this functionality, as I would pay for an
AngularJS 2 treeview component that supports drag & drop. I see one out
there right now https://github.com/valor-software/ng2-tree, but your
implementation has significant advantages with its support for keyboard
navigation, customizable field mappings, multi-select, etc.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2SShpT9gFld2E5n1xdi5rG2oeUwDkqks5quVZigaJpZM4JQQIj
.

@adamkleingit
Copy link
Contributor

Added drag & drop in Version 1.3.1:
https://angular2-tree.readme.io/v1.3.1/docs/drag-drop

@npearson72
Copy link
Author

You rock!

On Tue, Oct 4, 2016 at 1:42 PM, adam klein notifications@github.com wrote:

Closed #17 #17.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#17 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABQxlsXuimV0qJRfLjLr_BPus3XTGX6nks5qwi2egaJpZM4JQQIj
.

@adamkleingit
Copy link
Contributor

:)

@waynechaw
Copy link

It seems like drag and drop does not work on firefox (it is working on chrome)

@ashokdavuluri
Copy link

Hi,

Any event after drop is completed?

like once i drag and drop the element once the tree is updated with new data i need an event to do some more actions.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants