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 @@