Pessoal tenho essa tabela paiXfilho abaixo, e gostaria de deixar que adicionem somente 10 linhas, podem me ajudar?
<div class="col-md-12 text-right">
<div class="form-field table-responsive" data-type="tabledetail"
data-show-properties="" data-field-name="tabledetail">
<table class="table text-right" cellspacing="0" tablename="tbcursos"
noaddbutton=true nodeletebutton=true
customFnDelete="fnCustomDelete(this)">
<thead>
<tr class="tableHeadRow">
<th class="tableColumn text-center"> </th>
<th class="tableColumn text-center">Datas das avaliações<font color="red">*</font></th>
<th class="tableColumn text-center">Código Protheus</th>
</tr>
</thead>
<tbody>
<tr>
<!-- <div class="row"> -->
<td class="col-md-1 col-sm-4">
<div class="gridDelete form-group"">
<button type="button" class="btn btn-danger"
id="removerEnd" name="removerEnd" data-toggle="button"
onclick="fnCustomDelete(this)">
X
</button>
</div>
</td>
<td class="col-md-5 col-sm-5">
<div class="form-group fs-cursor-pointer" id="dt_DataGrid">
<div class="input-group date">
<input class="form-control data text-right" onclick="verData();" name="dt_DataGrid" id="dt_DataGrid" type="text" data-date=""
>
<span class="input-group-addon"> <span
class="fluigicon fluigicon-calendar"></span>
</span>
</div>
</div>
</td>
<td class="col-md-5 col-sm-5">
<div class="form-group">
<input type="text" name="codProtheus" id="codProtheus" class="form-control" readonly="readonly"
maxlength="200" />
</div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="form-group">
<button type="button" class="btn btn-primary" name="inputAdicionar"
id="inputAdicionar" onclick="wdkAddChild('tbcursos');init();">Adicionar
</button>
</div>
</div>