I have JSON data structured as follows:
Table -
0 -
0 - "xyz"
1 - "abc"
**2 - 45**
3 - "ab"
...
1 - ...
2 - ...
3 - ...
....
I am trying to get the value of the index 2 of the inner indexed data for every outer index. How do I do it with v-for. I have tried it this way but it is not working.
<table>
<tr v-for = "row in rows">
<td>{{ row[2] }}</td>
</tr>
</table>
I am adding an abbr version of the actual data
{
"Table":[
[
null,
3,
47,
"new planning",
"planning_new_0314",
null,
.....
],
[ + ],
[ + ],
...
]
}
I am getting the following error in the console window of IE 11 - Unable to get property '2' of undefined or null reference
But I am seeing data in my page if I write this -
<tr v-for = "row in rows">
<td>{{ row }}</td>
</tr>
How do I do this? Thanks
youObject.Table?