DataTables ColumnFilterWidgets
DataTables ColumnFilterWidgets
I am trying to use the ColumnFilerWidgets Plugin in my Web App.
Here is the current code
$(function () {
webApp.datatables(),
$("#Table1").dataTable({
"bPaginate": true,
"bServerSide": true,
"sAjaxSource": "GetDatax",
"bFilter": true,
"bSort": true,
aoColumnDefs: [{ bSortable: !1, aTargets: [4] }], iDisplayLength: 10, aLengthMenu: [[15, 30, 50, -1], [15, 30, 50, "All"]]
}), $(".dataTables_filter input").addClass("form-control").attr("placeholder", "Search")
});
However When I add the following line: "sDom": 'W<"clear">lfrtip' nothing happens. Am I using is wrong?
Here is the current code
$(function () {
webApp.datatables(),
$("#Table1").dataTable({
"bPaginate": true,
"bServerSide": true,
"sAjaxSource": "GetDatax",
"bFilter": true,
"bSort": true,
aoColumnDefs: [{ bSortable: !1, aTargets: [4] }], iDisplayLength: 10, aLengthMenu: [[15, 30, 50, -1], [15, 30, 50, "All"]]
}), $(".dataTables_filter input").addClass("form-control").attr("placeholder", "Search")
});
However When I add the following line: "sDom": 'W<"clear">lfrtip' nothing happens. Am I using is wrong?
This discussion has been closed.
Replies
Allan