Custom Row Filtering Not Working

Custom Row Filtering Not Working

John5788John5788 Posts: 9Questions: 0Answers: 0
edited January 2011 in General
Hello,

I am trying to apply my own custom row filtering, but I cannot get the function to work.

I have setup a very basic filter that should filter out everything

[code]
$.fn.dataTableExt.afnFiltering.push(function (oSettings, aData, iDataIndex)
{
alert('debug hit');
return false;
});
[/code]

When I call fnDraw() on my table via a button, I still see all of my rows and the alert box never appears. Where am I supposed to add this piece of code to make the filter work? Before or after table initialization or somewhere else?

Replies

This discussion has been closed.