PMCORE-3170

This commit is contained in:
Henry Jordan
2021-07-21 17:13:46 +00:00
parent f4e9400031
commit 78c7411376
3 changed files with 15 additions and 1 deletions

View File

@@ -19,6 +19,9 @@ export default {
classBtn(cls) {
return "btn btn-slim btn-force-radius v-btn-header " + cls;
},
/**
* Event handler dbl click
*/
dblClick(event){
this.options.dblClick(event, this.item, this.options);
}

View File

@@ -19,6 +19,9 @@ export default {
classBtn(cls) {
return "btn btn-slim btn-force-radius v-btn-header " + cls;
},
/**
* Event handler dbl click
*/
dblClick(event){
this.options.dblClick(event, this.item, this.options);
}

View File

@@ -462,7 +462,15 @@ export default {
* update view in component
*/
updateView(){
this.$refs["vueTable"].getData();
if (this.typeView === "GRID") {
this.$refs["vueTable"].getData();
}
if (this.typeView === "CARD") {
this.$refs["vueCardView"].getData();
}
if (this.typeView === "LIST") {
this.$refs["vueListView"].getData();
}
},
/**
* set data by default in the ellipsis component