waldo2188 / DatatableBundle

Symfony2 Ajax Datatable Bundle to simplify the use of http://datatables.net/ (and Doctrine entity inside)
MIT License
17 stars 16 forks source link

Individual column searching (select inputs) #13

Open johnzuk opened 7 years ago

johnzuk commented 7 years ago

Hi, is it possible to change input text in individual column searching for select like in this example: https://datatables.net/examples/api/multi_filter_select.html ?

waldo2188 commented 7 years ago

This isn't possible with the raw bundle. But you can do it with some Javascript. You must use Datatables event to listen when the data are loaded. And after you build your select box, put it in place of input box.