Open GoogleCodeExporter opened 9 years ago
html:
<table cellpadding="0" cellspacing="0" border="0" style="width:100%;" id="example">
<thead>
<tr>
<th>DisplayName</th>
<th>Email</th>
<th>Manager</th>
<th>PrimaryGroup</th>
<th>SubmitDate</th>
<th>Description</th>
</tr>
<tr>
<th>DisplayName</th>
<th>Email</th>
<th>Manager</th>
<th>PrimaryGroup</th>
<th>SubmitDate</th>
<th>Description</th>
</tr>
</thead>
</table>
Original comment by KaleyRoy
on 17 Jul 2013 at 4:28
Oh,sorry.
this problem like issue24
https://code.google.com/p/jquery-datatables-column-filter/issues/detail?id=24
solution:
//Line:252
if (properties.sPlaceHolder == "head:after") {
//sFilterRow = "thead tr:last";
var tr = $("thead tr:last", oTable).detach();
tr.prependTo($("thead", oTable));
sFilterRow = "thead tr:last";
} else if (properties.sPlaceHolder == "head:before") {
var tr = $("thead tr:last").detach();
tr.prependTo("thead");
sFilterRow = "thead tr:first";
}
Original comment by KaleyRoy
on 17 Jul 2013 at 4:50
Original issue reported on code.google.com by
KaleyRoy
on 17 Jul 2013 at 4:23Attachments: