Getting issues Accessing Nested Properties
MosesWakanyi opened this issue · 5 comments
MosesWakanyi commented
Hello,
This property seems not to work now. What has changed?
Product NameGomez commented
Same here, was it working before? Tested with 3.4.x, but still the same.
Here is my code
<Cell dataKey="node.name" />
data:
"node": {
"id": "174692e2-1f76-5fc2-9b78-4b155314c7b2",
"name": "Accessibility",
"version": "1.5.0",
"desc": "Provides multiple accessibilities options to ease your use of nextcloud.",
"added": false,
"updated": false
}
},
{
"node": {
"id": "b4f5c18e-30cc-5f2e-b0a4-c058f3dd2e3c",
"name": "Activity",
"version": "2.12.0",
"desc": "Provides an activity feed showing your file changes and other interesting things going on in your Nextcloud.",
"added": false,
"updated": false
}
},
MosesWakanyi commented
Forced to use this, wondering whether it's efficient!
Cell>
{(rowData, rowIndex) => {
return rowData.node.name;
}}
simonguo commented
Currently does not support the nested properties.
@MosesWakanyi The solution you use is effective.
<Column width={200}>
<HeaderCell>Name</HeaderCell>
<Cell>{rowData => rowData.node.name}</Cell>
</Column>
axtscz commented
This workaround no longer appears to be working