Filter type based on column data

Filter type based on column data

Anders.MellstromAnders.Mellstrom Posts: 1Questions: 1Answers: 0

Hi all,
I have applied a text column filter using the code at https://datatables.net/examples/api/multi_filter.html. That all works fine but on some columns, I would prefer to have dropdown lists or maybe checkboxes (booleans) instead of text inputs to filter my table. Is there an easy way to achieve this? Should I use ColumnDefs?

I'm all new to both JavaScript and to DataTables, so any help would be much appreciated.

Thanks!

This discussion has been closed.