Hi,
How to enable search only for odd tr rows in jquery Datatable
I am using Jquery datatable. It has search feature.
I want the search textbox to search only odd rows.
As you can see below table i have more than 1000 records.
If i search as Stud in the datatable search textbox only odd sequence records such as Stud1,Stud3 etc should display.
No.  StudentName   StudentClass        Section    
1      Stud1               4th grade             C
2      Stud2                11th grade           A
3      Stud3                 6th grade           B
4      Stud4                 11th grade          G
//cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css
//cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js
$(document).ready( function () {
    $('#Tblstud').DataTable();
} );
<table id="Tblstud" class="display">
    <thead>
        <tr>
            <th>No</th>
            <th>StudNAme</th>
            <th>StudentClass</th>
            <th>Section</th>
        </tr>
    </thead>
    <tbody>
       // load dynamically from model
       @foreach (var items in Model.StudList)
       {
           <td>@items.No</td>
           <td>@items.StudNAme</td>
           <td>@items.StudClass</td>
           <td>@items.Section</td>
       }
    </tbody>
</table>