I have a data table component populated by JSON from our API. Some fields are nested and I can't seem to get these nested fields to be recognized as their own column. When I try to edit the fields to add these, I only get the option to add "NestedField" as a whole as one column. So for example, we would get a response like such:
{
"Field1": "Value1",
"Field2": "Value2",
"NestedField": {
"NestedField1" : "NestedValue1",
"NestedField2" : "NestedValue2"
}
}
My table headers should be:
| Field1 | Field2 | NestedField1 | NestedField2 | .
I was thinking that I would need to use ClearCollect() to create the initial items for the table, and then use Collect() to go in, grab each nested value, and manually add it as a column. The closest I've gotten is adding these columns but they end up on their own row instead of included in their respective row. How can I accomplish this? Thanks!

Report
All responses (
Answers (