For security specific row with condition need to disable click event. Table is being loaded by ajax callback. But need to disable specific row. Here is the sample code that doesn't working.
<table id="result-table" class="table table-striped table-bordered tbl-paper-theme table-paper" role="grid" aria-describedby="datatable_info">
<thead>
<tr>
<th>
Item
</th>
<th>
Qty
</th>
<th>
Price
</th>
<th>
Amount
</th>
<th>
Action
</th>
</tr>
</thead>
<tbody id="result-tbody">
<tr>
<td>Mushroom Soup</td>
<td>1</td>
<td>180</td>
<td>180.00</td>
<td>
<div class="row-action pull-left">
<div class="btn-group">
<button class="btn btn-danger btn-sm ordered-qty-del" id="421" title="Del"><i class="icon-remove"></i></button>
</div>
</div>
</td>
</tr>
<tr>
<td>Caesar's Salad (Larg)</td>
<td>1</td>
<td>345</td>
<td>345.00</td>
<td>
<div class="row-action pull-left">
<div class="btn-group">
<button class="btn btn-danger btn-sm ordered-qty-del" id="480" title="Del"><i class="icon-remove"></i></button>
</div>
</div>
</td>
</tr>
</tbody>
</table>
For specific row I mean row number two I have tried to disable by given below code like : datatable is loaded dynamically by ajax $("#result-table result-tbody tr:eq(1)").prop('disabled', true);