I\'m using DataTables (datatables.net) and I would like my search box to be outside of the table (for example in my header div).
Is this possible ?
You could move the div when the table is drawn using the fnDrawCallback function.
fnDrawCallback
$("#myTable").dataTable({ "fnDrawCallback": function (oSettings) { $(".dataTables_filter").each(function () { $(this).appendTo($(this).parent().siblings(".panel-body")); }); } });