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

Not able to drag an item #134

Open
chiragbhagat opened this issue Dec 7, 2018 · 4 comments
Open

Not able to drag an item #134

chiragbhagat opened this issue Dec 7, 2018 · 4 comments

Comments

@chiragbhagat
Copy link

I am using Angular 6.x and not able to drag an item on UI. Am I missing anything?

`


<div class="ngx-dnd-item" ngxDraggable
*ngFor="let item of documentList">
{{item}}

`
@0f0
Copy link

0f0 commented Jan 9, 2019

`


<div class="ngx-dnd-item" ngxDraggable *ngFor="let name of showStaff; let i=index">
{{name?.name||name?.userId?.name}}

        </div>
      </div>`

this is my code

@gustavofscomp
Copy link

gustavofscomp commented Feb 1, 2019

Any luck with this problem? Got the same situation!

`


<div class="left-column ngx-dnd-container" ngxDroppable="example"
(drop)="droppedToLeft($event)" (over)="drag(1)">
<div class="ngx-dnd-item" ngxDraggable *ngFor="let item of leftColumnList">{{item}}

<div class="right-column ngx-dnd-container" ngxDroppable="example" (drop)="droppedToRight($event)" (over)="drag(2)">
  <div class="ngx-dnd-item" ngxDraggable *ngFor="let item of rightColumnList">{{item}}</div>
</div>
`

@chiragbhagat
Copy link
Author

Yes, I was able to resolve the issue for re-arranging order of my documents. I will share details with you soon. If urgent, you can email me directly at my id chiragbhagat in gmail and skype.

Thanks,
Chirag

@gustavofscomp
Copy link

Found the error, just some imports missing.

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

3 participants