Hide the seach field
Hide the seach field
carrarachristophe
Posts: 100Questions: 24Answers: 2
in DataTables 2
Good morning,
Following the upgrade to DT2, I am replacing the DOM by layout.
It works fine except that I am unable to hide the seach field.
I tried search: false
but it does not work.
Any idea on how I can do that?
This question has an accepted answers - jump to answer
Answers
The
layout
docs show the default settings and how to remove the unneeded elements. For exampletopEnd: null
to remove the search input.Kevin
Thanks Kevin!
I saw that page before posting but I misunderstood it.
I understand now that
topEnd: null
removes the default value, andtopEnd: 'info'
for example overrides the default value.Spot on