This commit is contained in:
@@ -456,6 +456,20 @@ export default {
|
||||
refresh() {
|
||||
this.getDataFromApi();
|
||||
},
|
||||
getRowIds() {
|
||||
//get selected row id's if there are selections else get all row id's
|
||||
//called into from parent for things like reporting or bulk ops
|
||||
if (this.selected.length > 0) {
|
||||
//return row id's of selected items only
|
||||
}
|
||||
if (this.records.length > 0) {
|
||||
//return row id's of all items
|
||||
}
|
||||
//no data, just return an empty array
|
||||
return [];
|
||||
// console.log("records:", this.records);
|
||||
// console.log("selected:", this.selected);
|
||||
},
|
||||
handleSelectChange() {
|
||||
//due to making own template for items need to handle singleselect which only affects if select all checkbox at top is visible when making own item template
|
||||
if (this.singleSelect) {
|
||||
|
||||
Reference in New Issue
Block a user