✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Custom text in DataTable filter cell?

Hi everyone,

Is there a way to have custom message instead of “filter data…” in the datatable?

Hi @essi1990, this message is the placeholder attribute of an input (as you can see from inspecting the element in your browser), That said, there is no easy way to change the content through CSS, so you would probably have to do this through some Javascript code…

Hi @Emmanuelle , Thanks for your message.

It would have been nice if there was a placeholder attribute or a hover info attribute (just like the normal cells in DataTable). I’m trying to put an instruction instead of “filter data…” for a more user-friendly filtering!

Any update to this?

I am looking to do the same thing.

@Emmanuelle, @essi1990