DataTable: dataKey Property not relevant for expanding rows #3718
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
As of now, even with a given
dataKey
, theexpandedRows
property doesn't accept an empty object orprimevue/datatable/DataTableExpandedRows
object.With
expandedRows
given asnull
, the table will fill it with an array of row objects, like it should withoutdataKey
.Reproducer
https://codesandbox.io/s/reverent-visvesvaraya-xypq5s?file=/src/App.vue
PrimeVue version
3.24
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
Chrome 111
Steps to reproduce the behavior
expand any row, check expandedRows Property
codesandbox kinda broken, maybe a refresh is required
Expected behavior
As described in linked doc
The text was updated successfully, but these errors were encountered: