I am facing an issue with the data display in my current table setup. The data is fetched from an SQL server, encoded into JSON format, and the structure of the JSON output is causing a problem for me. You can see how it looks like here:
The challenge I am encountering is correctly placing the "count_reqs" data in the corresponding columns on the table. For instance, the first row should be displayed as illustrated below:
http://snag.gy/tB0ji.jpg <--- Sorry, I cannot provide more links at this time.
I need help finding a solution to address this issue. Here's the code snippet representing the current table implementation:
<table class='table'>
<thead>
<tr>
<th>Tower</th>
<th>Job Level</th>
<th ng-repeat='data in dataset.headers'>{{ data }}</th>
</tr>
</thead>
<tbody>
<tr ng-repeat='tower in dataset.dataByTower' ng-init='current = 0'>
<td rowspan='{{ tower.entries.length }}'>{{ tower.tower_name }}</td>
<td>{{ tower.job_level }}</td>
</tr>
</tbody>
</table>