Angular4_table中选中tr选中一行

前端之家收集整理的这篇文章主要介绍了Angular4_table中选中tr选中一行前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Angular4_选中tr选中一行中的checkBox,并且高亮显示


<div class="row"> <div class="col-md-12 options"> <label class="checkBox-inline" *ngFor="let country of countries,let index=index"> <input type="checkBox" [(ngModel)]="country.selected">{{index + 1}} </label> </div> </div> <div class="row" rtSelectionArea> <div class="col-md-12 item" *ngFor="let country of countries" [rtSelectable]="country" [(selected)]="country.selected"> {{country.name}} </div> </div>

原文链接:https://www.f2er.com/angularjs/145398.html

猜你在找的Angularjs相关文章