Blame view

tables/basic-table.layout.html 571 Bytes
6e6aa9b0   Tarpit Grover   Basic Setup
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="basic-table">
    <table ng-class="classes.table">
        <thead ng-class="classes.head">
            <tr>
                <th ng-repeat="col in columns" width="{{col.$$width}}" ng-class="col.classes.heading">
                    {{ col.name }}
                </th>
            </tr>
        </thead>
        <tbody ng-class="classes.body">
            <tr ng-repeat="row in rows">
                <td ng-repeat="col in columns">
                    {{ ::getValue(row, col) }}
                </td>
            </tr>
        </tbody>
    </table>
</div>