Drop handler works only for local dnd events

This commit is contained in:
Serge Pavlyuk 2024-02-26 00:01:22 +03:00
parent be1d883958
commit f47e94cf9f

View file

@ -122,7 +122,9 @@
}
},
dropHandler(e) {
if (this.isDragging()) {
this.$emit('onsort', this.sortingElementIndex, this.newElementIndex);
}
},
customRowRender(record, index) {
const parentMethodResult = this.customRow?.(record, index) || {};