According to your description, I suggest you could try to refer to this article to achieve using dropdownlist to filter the row.
More details ,you could refer to below example:
View:
@model List<CoreNormalIssueMVC2.Models.EmpAttendanceViewModel>
@{
ViewData["Title"] = "DataTableTest";
}
<h1>DataTableTest</h1>
<div class="container">
<br />
<table id="example" class="table table-striped table-bordered dt-responsive nowrap" width="100%" cellspacing="0">
<thead>
<tr>
<th>AId</th>
<th>EmpId</th>
<th>Name</th>
<th>offid</th>
<th>Time</th>
</tr>
</thead>
<tbody>
@foreach (var item in Model)
{
<tr>
<td>@item.AId</td>
<td>
@item.EmpId
</td>
<td>
@item.Name
</td>
<td>
@item.offid
</td>
<td>
@item.Time
</td>
</tr>
}
</tbody>
<tfoot>
<tr>
<th>AId</th>
<th>EmpId</th>
<th>Name</th>
<th>offid</th>
<th>Time</th>
</tr>
</tfoot>
</table>
</div>
</div>
jquery
Result: