From 0f33cc7fedd15ff276c41a36788e6663abc9fde9 Mon Sep 17 00:00:00 2001 From: Baek Date: Wed, 24 Apr 2024 12:42:16 +0900 Subject: [PATCH] Fixed primefaces#5372: DataTable: Modifying value of expendedRow is not reflected --- components/lib/datatable/BodyRow.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/components/lib/datatable/BodyRow.vue b/components/lib/datatable/BodyRow.vue index 227b9e710..fa0284874 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));