From 7fb5b3985b78a53bbfacf692cb2b301b66a18dd2 Mon Sep 17 00:00:00 2001 From: Mert Sincan Date: Tue, 14 Jan 2025 11:42:49 +0000 Subject: [PATCH] refactor: #7090 for DataTable --- packages/primevue/src/datatable/TableBody.vue | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/packages/primevue/src/datatable/TableBody.vue b/packages/primevue/src/datatable/TableBody.vue index abd8d5d79..c80c4e954 100755 --- a/packages/primevue/src/datatable/TableBody.vue +++ b/packages/primevue/src/datatable/TableBody.vue @@ -36,8 +36,8 @@ :isVirtualScrollerDisabled="isVirtualScrollerDisabled" :editingMeta="editingMeta" :rowGroupHeaderStyle="rowGroupHeaderStyle" - :expandedRowId="expandedRowId" - :nameAttributeSelector="nameAttributeSelector" + :expandedRowId="$id" + :nameAttributeSelector="$attrSelector" @rowgroup-toggle="$emit('rowgroup-toggle', $event)" @row-click="$emit('row-click', $event)" @row-dblclick="$emit('row-dblclick', $event)" @@ -70,10 +70,9 @@