I have a material grid list <mat-grid-list>
with 6 columns and X rows... It shows products of a web I'm developing. I'm trying to make this grid list sortable drag & drop.
I've read many posts using cdkDropList, cdkDrag... But it is not working correctly. I've seen people doind it using just with div
elements, but this is not what I want.
I'm having the same trouble as the next image.
Can anyone help me?
Recently Angular Material has introduced the possibility of drag and drop. At the link you can find more details.
Angular Material Drag and Drop
I Hope help you.
I've read all that, but with mat-grid-list I can manage the index of the position of every item easily. Do you know an easy way to do it with
div
?I have not yet had the chance to use this new feature, I did some tests using the Angular Material examples. You should have no problems.