Guest User

Untitled

a guest
Mar 24th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <div style="display: table-row" *ngFor="let row of rows">
  2. <button type="button" class="btn" (click)="'isCollapsed'+row.id = !'isCollapsed'+row.id" [attr.aria-expanded]="false"
  3. aria-controls="'isCollapsed'+row.id">
  4. E
  5. </button>
  6. <div id="'isCollapsed'+row.id" [ngbCollapse]="'isCollapsed'+row.id">
  7. <div class="card">
  8. <div class="card-body">
  9. Some dynamic table content
  10. </div>
  11. </div>
  12. </div>
  13. <div style="display: table-cell;">
  14. <input type="checkbox" [checked]="chk" [id]="row.id" [name]="row.id">
  15. </div>
  16. <div style="display: table-cell;"> {{row.id}} </div>
  17. <div style="display: table-cell;"> {{row.name}} </div>
  18. <div style="display: table-cell;"> {{row.address}} </div>
  19. <div style="display: table-cell;"> {{row.package}} </div>
  20. <div style="display: table-cell;"> {{row.notes}} </div>
  21. <div style="display: table-cell;"> {{row.price}} </div>
  22. <div style="display: table-cell;"> {{row.status}} </div>
  23. </div>
Add Comment
Please, Sign In to add comment