pull/104/head
cagataycivici 2019-10-22 09:12:06 +03:00
parent ff70ffe1fc
commit 418a53af41
1 changed files with 5 additions and 2 deletions

View File

@ -836,8 +836,11 @@ export default {
return false;
},
isRowGroupExpanded(rowData) {
if (this.expandableRowGroups && this.expandedRowGroups) {
let groupFieldValue = ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
return this.expandableRowGroups && this.expandedRowGroups && this.expandedRowGroups.indexOf(groupFieldValue) > -1;
return this.expandedRowGroups.indexOf(groupFieldValue) > -1;
}
return false;
},
getRowKey(rowData, index) {
return this.dataKey ? ObjectUtils.resolveFieldData(rowData, this.dataKey): index;