Skip to content
This repository was archived by the owner on Nov 27, 2019. It is now read-only.

3 Levels Nested ngRepeat with Model #133

@JerimSD

Description

@JerimSD

Hi,

I am working on a project where I need to give to the user the ability to drag and drop several items. The structure is always the following:
Rows contain Columns which contain Components.
Rows can be reorganized between them as the user wishes.
Columns can be reorganized inside their original row or moved to another.
Components can be reorganized inside their original column or moved to another.

All Rows, Columns and Components come from an object "resource" and are dynamically generated with ngRepeat in the view side.

I started to implement a drag and drop with the angularjs-dragula library but when it came to implement nested containers I hit a wall (several times). Then I found your library, which seems to be exactly what I need but unfortunately I can't make it work.

I followed the documentation and the exemples provided but I don't understand how to use the service properly. I recreated my project basis in a Plunker : https://plnkr.co/edit/7NB4KKmM0QAiwSlhYYBj

If somebody could to take a look at my code and give me some advice, I would be very grateful.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions