Guest User

Untitled

a guest
Nov 21st, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. dataList = [
  2. {
  3. pname: "abc",
  4. numbers: [{mobile 1: 123, mobile 2: 234}]
  5. },
  6. {
  7. pname: "mno",
  8. numbers: [{mobile 1: 125, mobile 2: 237}]
  9. }
  10. ]
  11.  
  12. <tr *ngFor="let data of dataList">
  13. <td [attr.rowspan]="data.numbers.lenght">data.pname</td>
  14. <td>data.numbers</td> // Here how do I show all mobile numbers of the person.
  15. </tr>
Add Comment
Please, Sign In to add comment