stwe / DatatablesBundle

This Bundle integrates the jQuery DataTables plugin into your Symfony application.
355 stars 236 forks source link

Customizing / Removing text strings #808

Open cblgh opened 6 years ago

cblgh commented 6 years ago

Hi!

Is it possible to e.g. change the text for the select element Show <select> Entries, or remove the text for the search input element? It seems like this is supported by options in datatables when initialized in javascript, but I can't find anything in this bundle to accomplish the same.

Am I missing something obvious?

Thanks!

roxid commented 6 years ago

Try using one of the callbacks (maybe pre_draw_callback?) to override the respective datatable setting (using js).