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

Nested sortables #8

Open
luckylooke opened this issue Nov 9, 2014 · 5 comments
Open

Nested sortables #8

luckylooke opened this issue Nov 9, 2014 · 5 comments

Comments

@luckylooke
Copy link
Contributor

Do you have some quick idea how could be nested sortable achieved?

Use case:
Lets have a grid table with rows and columns. Cells inside rows are sortable and also rows inside table are sortable.

Problem:
Dropping cell in row fires also drop in table.

My possible solution:

  1. checking if dropped item is from child list
    or
  2. isolated scopes for sortables
    or
  3. something else..

:)

@bachvtuan
Copy link
Owner

One guy asked me about this issue and I also got this issue while I was trying to implement Kanban view and I didn't have much time so I turned on which element need to sortable. I think we can look at jquery ui sortable and show why they can do this.
I dunno but I'll try to find the solution when I'm free.

@luckylooke
Copy link
Contributor Author

These guys seems to have it solved: https://github.com/JimLiu/angular-ui-tree :)

@bachvtuan
Copy link
Owner

yep. sound like that, let use it in your project.
If you want the simple thing, let use this tool.
I might use angular-ui in my next project, it's really nice and it seem
support touch device.

On Wed, Nov 12, 2014 at 8:41 PM, luckylooke [email protected]
wrote:

These guys seems to have it solved:
https://github.com/JimLiu/angular-ui-tree :)


Reply to this email directly or view it on GitHub
#8 (comment)
.

@luckylooke
Copy link
Contributor Author

yep :) But just for note, this angular-ui-tree is not part of official angular-ui, at least I havent found it on their site http://angular-ui.github.io/

@bachvtuan
Copy link
Owner

yeah. https://github.com/angular-ui/ui-sortable is a part of
http://angular-ui.github.io/ and they use jqueryUI :[

On Wed, Nov 12, 2014 at 9:03 PM, luckylooke [email protected]
wrote:

yep :) But just for note, this angular-ui-tree is not part of official
angular-ui, at least I havent found it on their site
http://angular-ui.github.io/


Reply to this email directly or view it on GitHub
#8 (comment)
.

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

2 participants