This commit is contained in:
2020-06-30 20:21:03 +00:00
parent e0f16e2a9e
commit 0c3d85271e
2 changed files with 110 additions and 31 deletions

View File

@@ -429,10 +429,7 @@ export default {
this.selected.splice(0, this.selected.length - 1);
}
//emit event to parent form of selected rows
//this.$emit("update:selected", this.selected);
//Note vm this bubbles up all the columns of all the selected rows
console.log("gzdatatable:handleSelectChange emitting ", this.selected);
//so, to be more efficient for now will just send the ID's until I see a need for other shit
this.$emit("selection-change", window.$gz._.map(this.selected, "id"));
},