diff --git a/components/lib/datatable/BodyRow.vue b/components/lib/datatable/BodyRow.vue index 227b9e710f..fa02848741 100644 --- a/components/lib/datatable/BodyRow.vue +++ b/components/lib/datatable/BodyRow.vue @@ -277,6 +277,7 @@ export default { }, watch: { expandedRows: { + deep: true, immediate: true, handler(newValue) { this.d_rowExpanded = this.dataKey ? newValue?.[ObjectUtils.resolveFieldData(this.rowData, this.dataKey)] !== undefined : newValue?.some((d) => this.equals(this.rowData, d));