demo20230512/Views/Partial/templates/normal_table.cshtml
2023-05-12 10:20:28 +08:00

22 lines
794 B
Plaintext

<table class="normal_table">
<thead>
<tr>
<th ng-repeat="header in Simapro_Table.Table_Header track by $index">
{{header.Name}}
</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="dr in Simapro_Parameter" ng-class="{tableBottom: !border_bottom && $last}" load-simapro>
<td ng-repeat="t in Simapro_Table.Table_Header track by $index" ng-click="selectSimapro(Simapro_Parameter, $parent.$index)">
<div ng-show="t.Type != 'checkbox'">
{{dr[setKeyTitle(t.Keys)]}}
</div>
<div ng-hide="t.Type != 'checkbox'">
<input type="checkbox" ng-model="dr[setKeyTitle(t.Keys)]" />
</div>
</td>
</tr>
</tbody>
</table>