-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
currently this code:
updateItem(itemValue) {
const index = this.localValue.findIndex(v => v[this.rowKey] === itemValue[this.rowKey]);
this.$set(this.localValue, index, itemValue);
this.$emit("input", this.localValue);
}
emits the whole tree struct from this.localValue. It would be helpful to also emit only changes after dropping the node. This event should have source node, target node, source position, target position etc.
With such event it would be possible to efficently synchronize state in big (1000+ nodes) trees.
the-nicolas, b02505048, JTrotta and ricar2ce
Metadata
Metadata
Assignees
Labels
No labels