I am wanting to create a grid of the following array:
[
[ 'a', 'b', 'c' ],
[ 'd', 'e', 'f' ],
[ 'g', 'h', 'i' ]
]
such that I have a grid displaying them like:
| a | b | c |
| d | e | f |
| g | h | i |
But I can't seem to get things to work.
Here is a stackblitz with what I have so far
The HTML:
<div class="container">
<div class="row" *ngFor="let row of data">
<div class="item" *ngFor="let item of row">{{item}}</div>
</div>
</div>