filtrage de colonne Mettre sur le dessus (ou après la tête) dans Jquery Datatable:
<script src="~/Scripts/DataTables/jquery.dataTables.columnFilter.js"></script>
TABLEAU
<table class="display table table-hover table-bordered" id="usersShops" width="100%">
<thead>
<tr>
<th>Shop Name</th>
<th>User Name</th>
<th>Visit Date</th>
<th>IsVisited</th>
<th>IsAppdownloaded</th>
</tr>
<tr>
<th>ShopName</th>
<th>UserName</th>
<th>VisitDate</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody></tbody>
</table>
Code modifié du filtre de colonne:
oTable.columnFilter({
sPlaceHolder: "head:after",
aoColumns: [{ type: "text" },
{ type: "text" },
{ type: "date-range" }
]
});
Ne semble pas fonctionner dans IE8 ou IE9 – hsalama