Rolick
2016-03-22 06:28:33 UTC
I am using checkbox in bootstrap table as follows. I just want all the
checkboxes in the table rows when I check the checkbox on the table header
of the same column. How do I achieve this without using jquery ?
Following is my html table code:
<div id="grid" class="array-table">
<table id="tab" class="table table-striped" align="center">
<thead>
<tr id="header">
<th><input #csharpcb type="checkbox" aria-label="..." (change)="csharp = csharpcb.checked"></th>
<th>Name</th>
<th>Age</th>
</tr>
</thead>
<tbody class="trclass">
<tr>
<td><input type="checkbox" aria-label="..."></td>
<td>Rolick</td>
<td>19</td>
</tr>
</tbody>
</table>
</div>
checkboxes in the table rows when I check the checkbox on the table header
of the same column. How do I achieve this without using jquery ?
Following is my html table code:
<div id="grid" class="array-table">
<table id="tab" class="table table-striped" align="center">
<thead>
<tr id="header">
<th><input #csharpcb type="checkbox" aria-label="..." (change)="csharp = csharpcb.checked"></th>
<th>Name</th>
<th>Age</th>
</tr>
</thead>
<tbody class="trclass">
<tr>
<td><input type="checkbox" aria-label="..."></td>
<td>Rolick</td>
<td>19</td>
</tr>
</tbody>
</table>
</div>
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.