Hide search textbox

Hide search textbox

edikaedika Posts: 20Questions: 9Answers: 0

I'm trying to hide the filter textbox without loosing the filter functionality, because I'm using a custom textbox located in another place in the page.
Using bFilter:false, will hide the textbox but disable also the filter function. I want to be able to remove the div created on top of the header where the filter box is located. There is a way to do it?.

Answers

  • edikaedika Posts: 20Questions: 9Answers: 0

    Solved using $(".dataTables_filter").hide();

  • arsalansiddiquiarsalansiddiqui Posts: 128Questions: 15Answers: 0

    you can also do in
    dom: <>
    dont add i

  • kthorngrenkthorngren Posts: 21,166Questions: 26Answers: 4,921

    As arsalansiddiqui mentioned you can use the dom option for this. Leave out the f, for filter, option.

    Kevin

This discussion has been closed.