Draw has no effect after filter?

Draw has no effect after filter?

MV10MV10 Posts: 12Questions: 2Answers: 0
edited July 2014 in Free community support

I have a column whose search/filter values are just a bunch of numbers. When various selections are made in the UI, I want to run a filter function that shows or hides different rows depending on the values in that column. I can see that filter loops through all the values and that the values are correct, and I have confirmed they're Number types, and various combinations of true/false are being returned, but when draw() is called, the table doesn't change.

This JSFiddle illustrates the problem. Just click "go" and it should eliminate the two rows with "age" under 35.

http://jsfiddle.net/MV10/CeH8u/1/

Answers

  • MV10MV10 Posts: 12Questions: 2Answers: 0
    edited July 2014

    (deleted, observation wasn't relevant to the issue)

    However, search() works fine (fortunately I can pre-categorize my rows into just a few groups). I would still like to understand how to use filter properly, however.

This discussion has been closed.