search customization, input tag inside of td's
search customization, input tag inside of td's
my question is about next example:
https://datatables.net/examples/api/form.html
in the above example if you search for "Accountant" there is no result (the first row contains that query).
I have the same problem, i have a existing html table with input fields inside the td tags and want to transform it in a datatable so i could get search and sorting features.
is there a way to transform cell or row data before searching is performed by the datatable API?, that way i could specify to get the text inside the input tag.
thanks
Answers
You will need to use
cell().invalidate()
. This is an example:http://live.datatables.net/yecayovo/4/edit
Kevin