Hide the seach field
Hide the seach field
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
This discussion has been closed.
Answers
The
layoutdocs show the default settings and how to remove the unneeded elements. For exampletopEnd: nullto remove the search input.Kevin
Thanks Kevin!
I saw that page before posting but I misunderstood it.
I understand now that
topEnd: nullremoves the default value, andtopEnd: 'info'for example overrides the default value.Spot on