Columns with input fields are not searchable
Columns with input fields are not searchable
jimbju
Posts: 1Questions: 1Answers: 0
Hi,
I'm manipulating a column and converting it to a input field (https://datatables.net/examples/api/form.html). When I convert it to a input field, it is no longer searchable. I was thinking that I could duplicate the column and hide the duplicate, but I can't find any way to accomplish this. Is there a way to solve my problem?
Thanks!
Best regards,
Jim
This discussion has been closed.
Answers
See if this example helps:
http://live.datatables.net/zukacehi/69/edit
Its setup for the first two columns. It uses the technique shown in Live DOM sorting example for sorting. It uses
cell().invalidate()
to force Datatables to update its data when the input changes. It uses Orthogonal data for thefilter
operation's value to be the input's value.Kevin