Expected behavior of .column().search()

Expected behavior of .column().search()

netaisllcnetaisllc Posts: 24Questions: 2Answers: 0
edited September 2014 in Free community support

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

Answers

  • allanallan Posts: 61,821Questions: 1Answers: 10,127 Site admin
    Answer ✓

    I think you might be using DataTables 1.10.1. Can you update to the current release (1.10.2) please?

    Allan

  • netaisllcnetaisllc Posts: 24Questions: 2Answers: 0

    That resolved the issue.
    Thanks much, Allan!

  • allanallan Posts: 61,821Questions: 1Answers: 10,127 Site admin

    Good to hear - thanks for the update. It was a nasty little bug in 1.10.1 that...

    Allan

  • netaisllcnetaisllc Posts: 24Questions: 2Answers: 0

    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.

  • allanallan Posts: 61,821Questions: 1Answers: 10,127 Site admin

    Thanks for the feedback - great to hear! Super nice to hear that first thing in the morning :-)

    Regards,
    Allan

This discussion has been closed.