jquery - apply sort arrows to the second row -


i using jquery data tables.

i want have sort arrows applied second row of table not first.

html:

<table id="tableusers" class="datatable">             <thead>                                                                        <tr class="filterrow">                     <td></td>                     <td></td>                     <td data-rownum="2">                         @html.partial("_filterdropdown", model.rolelist)                     </td>                     <td></td>                     <td></td>                     <td></td>                     <td data-rownum="8">                         @html.partial("_filterdropdown", model.enabledlist)                     </td>                     <td></td>                     <td></td>                 </tr>                  <tr>                     <th class="width-110">user name                     </th>                     <th class="width-110">name                     </th>                     <th class="width-110">role                     </th>                     <th class="width-200">email                     </th>                     <th class="width-90">created                     </th>                     <th>datesort                     </th>                     <th class="width-80">enabled                     </th>                     <th class="width-90">action                     </th>                     <th>enabledsort                     </th>                 </tr>                 </thead>             <tbody>                 <tr>                     <td></td>                 </tr>             </tbody>         </table> 

this looks like:

enter image description here

i want arrows on second row. thanks

// copy filter row var filterrow = $("#tableusers .filterrow").clone(); // remove filter row $("#tableusers .filterrow").remove(); // initialize data table $("#tableusers").datatable(); // re-add filter row $("#tableusers thead tr:first").before(filterrow); 

Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -