Expected behavior of .column().search()
Expected behavior of .column().search()
netaisllc
Posts: 24Questions: 2Answers: 0
Hi,
I have experienced a behavior that I find unexpected.
When using code like this:
table.column( 8 ).search( filterString ).draw();
if a row contained a null value in column 7, the row was not included in the result set, even though its value in column 8 of the row matched the filterString.
Is that expected?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I think you might be using DataTables 1.10.1. Can you update to the current release (1.10.2) please?
Allan
That resolved the issue.
Thanks much, Allan!
Good to hear - thanks for the update. It was a nasty little bug in 1.10.1 that...
Allan
Yes, I bet so....
BTW, Allan, I want you to know that the 1.10 API is quite world-conquering in its own way. I was exposed to it when I helped a bit with the docs way back when, but lately I have had an opp to actually use in dev, and it's wonderful. Nice job.
Thanks for the feedback - great to hear! Super nice to hear that first thing in the morning :-)
Regards,
Allan