como puedo utilizar el buscador de mi navbar y no el de datatable para filtrar registros de mi tabla
como puedo utilizar el buscador de mi navbar y no el de datatable para filtrar registros de mi tabla

Tengo en mi navbar un buscador con diseño personalizado, lo que me gustaría es poder utilizarlo y esconder el que trae datatable por defecto, algun ejemplo lo agradeceria.
This discussion has been closed.
Answers
Sounds like you are asking to remove the Datatables search input. To remove it use the
dom
option.Kevin
Si gracias! ya pude esconder el buscador que viene por defecto, lo que no he podido es que el buscador de la navbar funcione con el filtrado de datatables.
Are you using
searching
set tofalse
to hide the search input? If so that is turning off the search functionality.If this doesn't help then we will need to look at what you have. Please post a link to your page or a test case replicating the problem.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
en realidad por el diseño del sitio debo cambiar el cuadro de búsqueda datatable por el de la navbar, entonces debo esconder el e viene por defecto en datatable.
You need to leave
searching
enabled ('true') and use thedom
option to keep from displaying the search input.Kevin