Jak umieścić filtr kolumn DataTables na górze
Korzystam z najnowszej wersji jQuery DataTables. Chcę użyć indywidualnego filtru kolumny na każdej tabeli, więc używam wtyczki filtru kolumny, ale dostaję pola wyszukiwania tylko w stopce. Chcę umieścić w nagłówku
$(document).ready(function () {
var oTable=$("#example").dataTable({
"bJQueryUI": true,
"sScrollX": "100%",
"aLengthMenu": [[5, 15, 50, 100], [5, 15, 50, "l00"]],
"iDisplayLength": 10,
"sPaginationType": "full_numbers",
"sDom": '<"top"if>rt<"bottom"lp><"clear">'
}).columnFilter({"sPlaceHolder":"head :before",
"aoColumns": [{ "type": "text" }, { "type": "text" }, null, null, null, null, { "type": "text" }, null, { "type": "text" }, { "type": "text" }, { "type": "text" },
Jak mogę umieścić go na górze mojego stołu?