Hi,
here: https://stackblitz.com/edit/angular-k3ifma-sth4cf
i've implemented the following:
public onDragEnd(args: DragEndEvent): void {
if (args.oldIndex !== args.index) {
console.log('update server');
} else {
console.log('nothing has changed', args);
}
}
When dragging and dropping, the if will never be true, the values of index and oldIndex are nearly always the same.
Why? Is this a bug?
Kind regards