I try to make a mix between this https://material.angular.io/cdk/drag-drop/overview#reordering-lists
and this https://material.angular.io/components/grid-list/overview
But impossible !
I try to do something like
<mat-grid-list cols="2" rowHeight="2:1">
<div cdkDropList class="example-list" (cdkDropListDropped)="drop($event)">
<div *ngFor="let book of books" cdkDrag>
<mat-grid-tile class="example-box">{{ book }}</mat-grid-tile>
</div>
</div>
But the drop doesn't work.
To be clear, I try to do this, with "1", "2", "3", "4" interchangeable by drag&drop with Angular material
Did anyone ever manage to do something like that?