Get rid of search bar.

Get rid of search bar.

searls03searls03 Posts: 1Questions: 0Answers: 0
edited November 2012 in DataTables 1.8
is there anyway to get rid of the search bar on the datatables?


  • girishmrgirishmr Posts: 137Questions: 0Answers: 0
    edited November 2012
    If you have used sDom, remove 'f' from it. If you haven't used sDom at all while initializing the DT, then by default you would have got pagination, information, Length Menu and Search Bar. use sDom to display / remove these options.
    See for sDom settings and for styling
  • allanallan Posts: 61,047Questions: 1Answers: 9,955 Site admin
    What girishmr says :-).

    One additional option is to use bFilter to completely disable filtering.

This discussion has been closed.