custom filter not applying when calling fnFilter

custom filter not applying when calling fnFilter

hammersmashhammersmash Posts: 15Questions: 0Answers: 0
edited November 2011 in General
I push my filter function to $.fn.dataTableExt.afnFiltering, then call fnFilter with a value. The custom filter function is not applied to the search. When I make any change to the value in the filter input box, dataTables searches again and the custom filter is applied as expected.

I'm not sure why this is happening.

Replies

  • hammersmashhammersmash Posts: 15Questions: 0Answers: 0
    Adding an fnDraw() immediately after the fnFilter() resolved the issue. Seems like there is a difference when fnFilter() redraws and the fnDraw() function is called.

    Anyways,dataTables is still a great tool.
This discussion has been closed.