There is no limit for adding this row inside table you can use loop or anything to add row pragmatically. And remember that there is nested loop inside the row and user can also delete the whole row in one click.
This is my html.
<div class="fullWrap" style="margin-top: 20px;">
<h4 class="blue">Prescription</h4>
<table class="medicineInstGrid addPrescriptionGrid">
<tr class="head">
<th rowspan="2">Name Of Medicine</th>
<th rowspan="2" width="50">Dose</th>
<th rowspan="2" width="100">Dose Type</th>
<th colspan="2">Breakfast</th>
<th colspan="2">Lunch</th>
<th colspan="2">Evening Snack</th>
<th colspan="2">Dinner</th>
<th rowspan="2" width="50">Days</th>
<th rowspan="2">Comments</th>
</tr>
<tr class="head">
<th>Before</th>
<th>After</th>
<th>Before</th>
<th>After</th>
<th>Before</th>
<th>After</th>
<th>Before</th>
<th>After</th>
</tr>
<tr>
<td>
<div class="fullWrap medicineSearchWrap">
<input type="text" name="" required value="{{medSearchOnClickName}}"
#searchMedBox (keyup)="getSearchMedInput(searchMedBox.value)" >
<div class="fullWrap" *ngIf="medicineSearchDropDown">
<div class="innerLoadingWrap" style="z-index:999;width: 400px" *ngIf="medSearchLoader">
<md-spinner strokeWidth="7"></md-spinner>
</div>
<ul class="fullWrap medicineSearchResult" >
<li *ngFor="let medList of searchMedicine" >
<div class="fullWrap" style="padding: 10px" (click)="getMedicineOnClick(medList.name, medList.form); medicineSearchDropDown=false">
<div class="fullWrap">
<h4>
{{medList.name}} (<div class="rupeeIcon"></div>{{medList.price}})</h4>
<p>{{values}}</p>
</div>
<div class="fullWrap">
<span class="pullLeft">{{medList.manufacturer}}</span>
<span class="pullRight">
<b>Constituents: </b>
<span *ngFor="let constituents of medList.constituents">
{{constituents.name}}
</span>
</span>
</div>
</div>
</li>
</ul>
</div>
</div>
</td>
<td>
<div class="fullWrap">
<input type="text" name="" required>
</div>
</td>
<td>
<div class="fullWrap">
<input type="text" value="{{medSearchOnClickDoseType}}" name="">
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="fullWrap">
<input type="text" name="" required>
</div>
</td>
<td>
<div class="fullWrap">
<input type="text" name="">
</div>
</td>
</tr>
</table>
<div class="normalSection" style="padding: 0 5px">
<div class="greyAddBtn">
<h4 class="blue adddMore">+ Add More</h4>
</div>
</div>
and i want to add this section inside table multiple times with unique id on click of Add more button.
<tr>
<td>
<div class="fullWrap medicineSearchWrap">
<input type="text" name="" required value="{{medSearchOnClickName}}"
#searchMedBox (keyup)="getSearchMedInput(searchMedBox.value)" >
<div class="fullWrap" *ngIf="medicineSearchDropDown">
<div class="innerLoadingWrap" style="z-index:999;width: 400px" *ngIf="medSearchLoader">
<md-spinner strokeWidth="7"></md-spinner>
</div>
<ul class="fullWrap medicineSearchResult" >
<li *ngFor="let medList of searchMedicine" >
<div class="fullWrap" style="padding: 10px" (click)="getMedicineOnClick(medList.name, medList.form); medicineSearchDropDown=false">
<div class="fullWrap">
<h4>
{{medList.name}} (<div class="rupeeIcon"></div>{{medList.price}})</h4>
<p>{{values}}</p>
</div>
<div class="fullWrap">
<span class="pullLeft">{{medList.manufacturer}}</span>
<span class="pullRight">
<b>Constituents: </b>
<span *ngFor="let constituents of medList.constituents">
{{constituents.name}}
</span>
</span>
</div>
</div>
</li>
</ul>
</div>
</div>
</td>
<td>
<div class="fullWrap">
<input type="text" name="" required>
</div>
</td>
<td>
<div class="fullWrap">
<input type="text" value="{{medSearchOnClickDoseType}}" name="">
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="customCheckBox" style="margin-bottom:0">
<input type="checkbox" name="" value="">
<div class="check"></div>
</div>
</td>
<td>
<div class="fullWrap">
<input type="text" name="" required>
</div>
</td>
<td>
<div class="fullWrap">
<input type="text" name="">
</div>
</td>
</tr>